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:0xe46772b149379dba5a9c8c41576e79b6c0844c683988313a39d427b2ad5a9f8b
Input
PropertyTypeDescription
path*anyAny resolvable path pointing at a collection. Examples: 'v/ops/agent' (catalog sub-tree), 'w/events', 'g/my-agent/timeline'.
offsetintegerStarting index (default 0).
limitintegerMaximum number of entries to return (default 100).
Output
PropertyTypeDescription
existsboolean-
offsetintegerStarting index of this page.
typestringCollection type: Vector, Map, or Set
valuesarrayThe entries in the requested range. For maps, each entry is {key, value}.
totalSizeintegerTotal 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://api.getmine.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://api.getmine.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://api.getmine.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://api.getmine.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",
		"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)."
				}
			},
			"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}." },
				"totalSize": { "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