xmp4_callers
Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.
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": {
"project": "<project>",
"symbol_name": "<symbol_name>"
},
"name": "xmp4_callers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | No | Include docs: none (default) | summary | full (xmp4_info only) | |
| page | No | Page number (1-based, default 1; ignored by xmp4_info/xmp4_source) | |
| project | Yes | Project id: 'repo/project' or 'repo/project/language'. Case-insensitive prefix match. Append '/Python'|'/CSharp'|'/Java'|etc. only to disambiguate multi-language projects (e.g. 'django/Django/Python' vs 'django/Django/JavaScript'). 1 match → proceeds; N → warning lists candidates; 0 → do NOT iterate guesses, call xmp4_projects(query=...) once then retry. | |
| file_path | No | File path to disambiguate | |
| page_size | No | Results per page (default 20, max 100) | |
| symbol_name | Yes | Symbol name | |
| output_format | No | Output format: Compact (default) or Verbose |