get_file_docs
Finds project documentation for a file path or pattern, helping you access relevant docs while editing code.
Instructions
Get documentation that matches a file path or pattern using frontmatter filePatterns. Use when editing a specific file or directory.
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": {
"filePath": "<filePath>"
},
"name": "get_file_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path or pattern. Examples: "src/components/Button.tsx", "**/*.test.js", "services/auth/*" |