Set Context
set_contextSave key project information as key-value pairs to preserve architecture decisions, config values, conventions, and constraints for future reference.
Instructions
Set a key-value context pair for a project (upsert). Proactively use this when the user shares important project context like architecture decisions, config values, conventions, or constraints.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Context key, e.g. "auth_approach", "deployment_target", "api_base_url" | |
| value | Yes | Context value | |
| project | No | Project name or ID | |
| category | No | Category like "architecture", "config", "convention", "constraint" |