Graphite: switch the active document
graphite_select_documentSwitches the active tab to a specified open document so subsequent editor operations apply to that document.
Instructions
Make another open document the active tab. graphite_get_document lists open documents. All other tools act on the active document.
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": {
"document_id": "<document_id>"
},
"name": "graphite_select_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| document_id | Yes |