jdx_samples
Rank call sites and return source snippets to show how a symbol is used. Filter by workspace, artifact glob, result limit, and snippet length.
Instructions
How is this symbol really used? Ranked call sites with source snippets as evidence.
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": {
"query": "<query>"
},
"name": "jdx_samples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | Only matches from artifacts whose label matches this glob. | |
| limit | No | Maximum rows shown (default 3); the rest become a truncation footer. | |
| query | Yes | The symbol reference, type, pattern or glob the command asks about. Quote refs containing # or (). Empty only where the command allows it (ls, tree). | |
| exclude | No | Skip matches from artifacts whose label matches this glob. | |
| maxLines | No | Cap each snippet's shown code lines (default 15). | |
| workspace | No | Named workspace to answer from (default: the workspace the server was started with). Stored workspaces only. | |
| preferSources | No | Rank callers from sources-paired artifacts first. |