Expand description
Implementation of the ReadFiles tool.
This module provides the implementation for the ReadFiles tool, which is used
to read and display the contents of files, optionally with line numbers and
line range filtering.
Structs§
- Read
File Revision - Revision receipt for one successful file read.
revisionis opaque to MCP callers and may be supplied toApplyPatchas a compare-and-swap guard. - Read
Files Outcome - Complete result of one batched read. The MCP adapter uses the per-file
errors to return an honest
isError: trueresult while retaining any successfully read content in the same response. - Read
Line Range