Switch Project
switch_projectSelects the active configuration project or rebinds the project root to an absolute path, updating the current project context.
Instructions
Switch active configuration project or rebind the project root with path.
Arguments
session_id: string | null
Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.
name: string | null
Configuration project name to select at the current root
path: string | null
Project root to rebind instead of selecting a configuration name. Use an absolute client path; relative paths, ~, ~user and environment expansion require verified stdio filesystem sharing. HTTP/HTTPS permits absolute paths only.
verbose: boolean
If True, return full project details; if False, return confirmation
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": {
"args": "<args>"
},
"name": "switch_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for selecting a configuration or rebinding the project root. |