Skip to main content

Module types

Module types 

Source
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§

AnalyzeImpactMetadata
The metadata embedded in structured_content for analyze_impact.
AnalyzeImpactParams
Parameters for analyze_impact.
BatchEdit
A single edit in a replace_batch call.
CreateFileParams
Parameters for create_file.
CreateFileResponse
The response for create_file.
DeepContextDependency
A dependency signature extracted for read_with_deep_context.
DeleteFileParams
Parameters for delete_file.
DeleteFileResponse
The response for delete_file.
DeleteSymbolParams
Parameters for delete_symbol.
EditResponse
The response for all AST-aware edit tools: replace_body, replace_full, insert_before, insert_after, delete_symbol, and validate_only.
EditValidation
The result of LSP validation for an edit operation.
GetDefinitionParams
Parameters for get_definition.
GetDefinitionResponse
The response for get_definition.
GetRepoMapMetadata
The metadata embedded in structured_content for get_repo_map.
GetRepoMapParams
Parameters for get_repo_map.
GroupedKnownMatch
A minimal match entry for files already in the agent’s context (known_files) when grouped by file.
GroupedMatch
A single match within a SearchResultGroup.
ImpactReference
A single reference in an impact analysis.
InsertAfterParams
Parameters for insert_after.
InsertBeforeParams
Parameters for insert_before.
InsertIntoParams
Parameters for insert_into.
LspCapabilities
LSP status and capabilities.
LspHealthParams
Parameters for lsp_health.
LspHealthResponse
The response for lsp_health.
LspLanguageHealth
Per-language LSP health status.
ReadFileMetadata
The metadata embedded in structured_content for read_file.
ReadFileParams
Parameters for read_file.
ReadSourceFileMetadata
The metadata embedded in structured_content for read_source_file.
ReadSourceFileParams
Parameters for read_source_file.
ReadSymbolScopeMetadata
The metadata embedded in structured_content for read_symbol_scope.
ReadSymbolScopeParams
Parameters for read_symbol_scope.
ReadSymbolScopeResponse
The response for read_symbol_scope.
ReadWithDeepContextMetadata
The metadata embedded in structured_content for read_with_deep_context.
ReadWithDeepContextParams
Parameters for read_with_deep_context.
ReplaceBatchParams
Parameters for replace_batch.
ReplaceBodyParams
Parameters for replace_body.
ReplaceFullParams
Parameters for replace_full.
Replacement
A search-and-replace operation for write_file.
RepoCapabilities
The overall capabilities of the Pathfinder system.
SearchCodebaseParams
Parameters for search_codebase.
SearchCodebaseResponse
The response for search_codebase.
SearchResultGroup
A group of matches belonging to one file, returned when group_by_file: true.
SourceSymbol
A symbol output for read_source_file.
ValidateOnlyParams
Parameters for validate_only.
ValidationResult
Validation result for edits.
WriteFileMetadata
The metadata embedded in structured_content for write_file.
WriteFileParams
Parameters for write_file.

Functions§

default_context_lines
default_depth
default_detail_level
default_max_depth
default_max_lines
default_max_results
default_max_tokens
default_max_tokens_per_file
default_path_glob
default_repo_map_path
default_start_line