Tool Details: covia_read

Basic Information

Tool Name:covia_read
Asset Name:Read Lattice Data
Description:Read a value from any lattice path. Examples: w/vendor-records/acme (workspace data), v/ops/covia/write (operation metadata), did:key:<id>/w/shared (cross-user read). Returns {exists, value}. For large values use covia_list to check size first, covia_slice for pagination, or covia_inspect for a budget-controlled summary.
Adapter:covia
Asset Hash:0x2b566a6fd5b957039a484746793df29de6d4179467aae164bc9e853cb3d9e092
Input
PropertyTypeDescription
path*anyAny resolvable lattice path (e.g. 'w/my-notes', 'o/my-op', 'v/ops/json/merge', '/a/<hash>', 'did:web:...', 'g/my-agent/state'). Deep paths walk into nested maps and vectors.
maxSizeintegerMaximum memory size in bytes for the returned value (default 1000000). If exceeded, returns truncated: true with the size.
Output
PropertyTypeDescription
sizeintegerMemory size in bytes (only present when truncated)
valueanyThe value at the path, or null if not found or truncated
existsbooleanTrue if data exists at this path
truncatedbooleanTrue if the value was too large and was not returned

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://venue-3.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "covia_read",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://venue-3.covia.ai/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "covia_read",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-3.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "covia_read",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://venue-3.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'covia_read',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
	"name": "Read Lattice Data",
	"description": "Read a value from any lattice path. Examples: w/vendor-records/acme (workspace data), v/ops/covia/write (operation metadata), did:key:<id>/w/shared (cross-user read). Returns {exists, value}. For large values use covia_list to check size first, covia_slice for pagination, or covia_inspect for a budget-controlled summary.",
	"dateCreated": "2026-03-07T00:00:00Z",
	"operation": {
		"adapter": "covia:read",
		"toolName": "covia_read",
		"input": {
			"type": "object",
			"properties": {
				"path": {
					"description": "Any resolvable lattice path (e.g. 'w/my-notes', 'o/my-op', 'v/ops/json/merge', '/a/<hash>', 'did:web:...', 'g/my-agent/state'). Deep paths walk into nested maps and vectors."
				},
				"maxSize": {
					"type": "integer",
					"description": "Maximum memory size in bytes for the returned value (default 1000000). If exceeded, returns truncated: true with the size."
				}
			},
			"required": ["path"]
		},
		"output": {
			"type": "object",
			"properties": {
				"exists": { "type": "boolean", "description": "True if data exists at this path" },
				"value": { "description": "The value at the path, or null if not found or truncated" },
				"truncated": { "type": "boolean", "description": "True if the value was too large and was not returned" },
				"size": { "type": "integer", "description": "Memory size in bytes (only present when truncated)" }
			}
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index