get_context_for_file
Retrieve coding guidelines and relevant context for any file path before editing. Ensures code consistency by providing guidelines tailored to the specific file or folder.
Instructions
Retrieves coding guidelines and context based on the file path provided. Call this before editing code.
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_context_for_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The file or folder path you are about to edit or create |