app_set_active_document
Activates a specified document by full file path, bringing it into focus so subsequent editor operations target the correct file.
Instructions
Set a specific document as the active (focused) document.
Args: file_path: Full path to the document to activate
Returns: Dictionary with result of the operation
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": {
"file_path": "<file_path>"
},
"name": "app_set_active_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||