get_active_file
Retrieve the current file's path, full content, cursor line and column, dirty status, and syntax name.
Instructions
Return the active file's path, full content, cursor line/col, dirty flag, and syntax name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_active_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||