search_nodes
Search code nodes in a repository snapshot by matching terms against a target commit to retrieve relevant functions, classes, and other elements.
Instructions
search nodes
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": {
"repository_id": "<repository_id>",
"target_commit": "<target_commit>",
"terms": "<terms>"
},
"name": "search_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| terms | Yes | ||
| request_id | No | ||
| snapshot_id | No | ||
| tool_version | No | ||
| repository_id | Yes | ||
| target_commit | Yes | ||
| schema_version | No |