set_root
Switch the active ConTXT BOX root to a new directory during the chat, updating indexed file metadata and context for subsequent tool calls.
Instructions
Switch the active ConTXT BOX root during this chat.
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": {
"root": "<root>"
},
"name": "set_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||