Get a graph’s tools
get-toolsLook up the tools a graph exposes: fetch its index and instructions, get full definitions for named tools, or filter tools by query before calling them.
Instructions
Look up the tools one graph serves. Each graph has its own list: a ledger graph, a shared repository such as sec and a subgraph differ.
With
graphalone: the index (every tool’s name and one-line summary, split into read and write tools) and the graph’s own instructions. Call this first for a graph you have not worked on in this conversation, and read the instructions.With
names: the full description and input schema of those tools. Read a tool’s definition before the first time you call it; never guess its arguments.With
query: the index filtered to tools matching the words given.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graph": "<graph>"
},
"name": "get-tools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes | The graph to act on: a graph id, a subgraph id (`{parent}_{name}`) or an alias, as `list-graphs` returns them | |
| names | No | Tool names to return in full, at most 8 per call | |
| query | No | Words to filter the index by, matched against names and descriptions |