Tools provided
Tools the agent exposes — your AI client calls them automatically when it needs them.
- xmp4_callees — Find direct callees (methods called by) a symbol in a project. Navigate step-by-step by calling xmp4_callees again on interesting results.write
- xmp4_callers — Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.write
- xmp4_deps — List external dependencies of a project.write
- xmp4_grep — Server-side regex text search over indexed project source files. Free tier: requires file_path (single file). Premium tier (XMP4_PREMIUM_GREP_WALK=true): allows file_glob multi-file walk. Prefer xmp4_tests_for/xmp4_usages for SCIP symbols — grep is for text not indexed (comments, literals, config keys).write
- xmp4_guide — Usage guide for xmp4 tools — read this first to learn the correct workflowwrite
- xmp4_hierarchy — Get type hierarchy (base, interfaces, derived) for a symbol in a project.write
- xmp4_info — Get detailed information about a symbol in a project.write
- xmp4_outline — Get outline (all symbols) for a file in a project.write
- xmp4_projects — Search and browse projects by language and name. Use this first to discover projects, then use other tools with the repo name.write
- xmp4_search — Search symbols in a project. Use xmp4_projects first to find the project identifier.write
- xmp4_server — Get server information, version, and capabilitieswrite
- xmp4_source — Extract source code for a symbol in a project.write
- xmp4_symbol_at — LSP-style position→symbol lookup. Given (file_path, line, column) returns the symbol whose occurrence covers that cursor position. line is 1-based; column is 0-based. Use after xmp4_outline/xmp4_view when you know coordinates and want the canonical symbol.write
- xmp4_tests_for — Find direct tests that exercise a given symbol (direct callers filtered to test-file candidates per language pattern: CSharp/Java/PHP: *Test(s).<ext>; Python: test_*.py / *_test.py; TypeScript/JavaScript: *.spec/test.{ts,js}; Rust: *_tests.rs / tests/; etc.).write
- xmp4_usages — Find all usages/references of a symbol in a project.write
- xmp4_view — Read a raw file excerpt from an indexed project by line range. Use after xmp4_search/xmp4_outline locates the region of interest, or to expand a truncated xmp4_source snippet. Hard cap of 500 lines per call.write
