Tool Details: covia_slice

Basic Information

Tool Name:covia_slice
Asset Name:Slice Lattice Data
Description:Read a paginated slice from a collection at any lattice path. For vectors: array of elements; for maps: array of {key, value}. Use after covia_list reveals a large collection. Example: g/Alice/timeline limit=5 (recent agent runs).
Adapter:covia
Asset Hash:0x9637615ef27c61bc4020ae3ef021d712379a1ac46c7fd33095faa15c4882dfc0
Input
PropertyTypeDescription
path*anyAny resolvable path pointing at a collection. Examples: 'v/ops/agent' (catalog sub-tree), 'w/events', 'g/my-agent/timeline'.
maxSizeintegerMax CAD3 encoding size (bytes) of the returned page (default 1000000). Distinct from covia_inspect's render budget — this caps the EXACT returned values. Slice never summarises: an oversize page is an error (reduce limit, or read an oversize entry directly / use covia_inspect for a summarised view).
offsetintegerStarting index (default 0).
limitintegerMaximum number of entries to return (default 100).
Output
PropertyTypeDescription
offsetintegerStarting index of this page.
existsboolean-
typestringCollection type: Vector, Map, or Set
valuesarrayThe entries in the requested range. For maps, each entry is {key, value}.
countintegerTotal number of entries in the collection (the returned page is in values).

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-2.covia.ai/mcp

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

url = "https://venue-2.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "covia_slice",
        "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-2.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'covia_slice',
        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": "Slice Lattice Data",
	"description": "Read a paginated slice from a collection at any lattice path. For vectors: array of elements; for maps: array of {key, value}. Use after covia_list reveals a large collection. Example: g/Alice/timeline limit=5 (recent agent runs).",
	"dateCreated": "2026-03-25T00:00:00Z",
	"operation": {
		"adapter": "covia:slice",
		"readOnly": true,
		"toolName": "covia_slice",
		"input": {
			"type": "object",
			"properties": {
				"path": {
					"description": "Any resolvable path pointing at a collection. Examples: 'v/ops/agent' (catalog sub-tree), 'w/events', 'g/my-agent/timeline'."
				},
				"offset": {
					"type": "integer",
					"description": "Starting index (default 0)."
				},
				"limit": {
					"type": "integer",
					"description": "Maximum number of entries to return (default 100)."
				},
				"maxSize": {
					"type": "integer",
					"description": "Max CAD3 encoding size (bytes) of the returned page (default 1000000). Distinct from covia_inspect's render budget — this caps the EXACT returned values. Slice never summarises: an oversize page is an error (reduce limit, or read an oversize entry directly / use covia_inspect for a summarised view)."
				}
			},
			"required": ["path"]
		},
		"output": {
			"type": "object",
			"properties": {
				"exists": { "type": "boolean" },
				"type": { "type": "string", "description": "Collection type: Vector, Map, or Set" },
				"values": { "type": "array", "description": "The entries in the requested range. For maps, each entry is {key, value}." },
				"count": { "type": "integer", "description": "Total number of entries in the collection (the returned page is in values)." },
				"offset": { "type": "integer", "description": "Starting index of this page." }
			}
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index