Set project context
set_contextOverride the auto-detected project, branch, or PR for the current session when the working directory scope is incorrect; use only to correct session context.
Instructions
Override the auto-detected project, branch or PR for this session. Optional: the project is detected from the working directory, so call it only to correct the scope.
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": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr | No | PR number | |
| branch | No | ||
| project | No | Project key; omit to keep the detected one | |
| project_name | No | Human-readable name | |
| project_path | No | Absolute project path |