Expand description
Module containing type definitions. Tool parameter and response types for Pathfinder MCP tools.
These structs are deserialized by the rmcp framework from MCP tool call
payloads. The dead_code lint fires for param struct fields that are read
by serde (via Deserialize) but never accessed by name in production code.
A module-level #![allow] is used here so that each newly implemented tool
can remove its struct’s allow without touching unrelated items.
Structs§
- Analyze
Impact Metadata - The metadata embedded in
structured_contentforanalyze_impact. - Analyze
Impact Params - Parameters for
analyze_impact. - Batch
Edit - A single edit in a
replace_batchcall. - Create
File Params - Parameters for
create_file. - Create
File Response - The response for
create_file. - Deep
Context Dependency - A dependency signature extracted for
read_with_deep_context. - Delete
File Params - Parameters for
delete_file. - Delete
File Response - The response for
delete_file. - Delete
Symbol Params - Parameters for
delete_symbol. - Edit
Response - The response for all AST-aware edit tools:
replace_body,replace_full,insert_before,insert_after,delete_symbol, andvalidate_only. - Edit
Validation - The result of LSP validation for an edit operation.
- GetDefinition
Params - Parameters for
get_definition. - GetDefinition
Response - The response for
get_definition. - GetRepo
MapMetadata - The metadata embedded in
structured_contentforget_repo_map. - GetRepo
MapParams - Parameters for
get_repo_map. - Grouped
Known Match - A minimal match entry for files already in the agent’s context (
known_files) when grouped by file. - Grouped
Match - A single match within a
SearchResultGroup. - Impact
Reference - A single reference in an impact analysis.
- Insert
After Params - Parameters for
insert_after. - Insert
Before Params - Parameters for
insert_before. - Insert
Into Params - Parameters for
insert_into. - LspCapabilities
- LSP status and capabilities.
- LspHealth
Params - Parameters for
lsp_health. - LspHealth
Response - The response for
lsp_health. - LspLanguage
Health - Per-language LSP health status.
- Read
File Metadata - The metadata embedded in
structured_contentforread_file. - Read
File Params - Parameters for
read_file. - Read
Source File Metadata - The metadata embedded in
structured_contentforread_source_file. - Read
Source File Params - Parameters for
read_source_file. - Read
Symbol Scope Metadata - The metadata embedded in
structured_contentforread_symbol_scope. - Read
Symbol Scope Params - Parameters for
read_symbol_scope. - Read
Symbol Scope Response - The response for
read_symbol_scope. - Read
With Deep Context Metadata - The metadata embedded in
structured_contentforread_with_deep_context. - Read
With Deep Context Params - Parameters for
read_with_deep_context. - Replace
Batch Params - Parameters for
replace_batch. - Replace
Body Params - Parameters for
replace_body. - Replace
Full Params - Parameters for
replace_full. - Replacement
- A search-and-replace operation for
write_file. - Repo
Capabilities - The overall capabilities of the Pathfinder system.
- Search
Codebase Params - Parameters for
search_codebase. - Search
Codebase Response - The response for
search_codebase. - Search
Result Group - A group of matches belonging to one file, returned when
group_by_file: true. - Source
Symbol - A symbol output for
read_source_file. - Validate
Only Params - Parameters for
validate_only. - Validation
Result - Validation result for edits.
- Write
File Metadata - The metadata embedded in
structured_contentforwrite_file. - Write
File Params - Parameters for
write_file.