set_feature_context
Configure a feature's context by adding documentation references, prepared context blocks, and protocol bindings, with optional merging into existing context.
Instructions
Manually set context for a feature. Allows adding documentation references, prepared context blocks, and protocol bindings.
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": {
"projectDir": "<projectDir>",
"featureId": "<featureId>"
},
"name": "set_feature_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | Merge with existing context instead of replacing (default: true) | |
| prepared | No | Pre-processed context blocks | |
| featureId | Yes | ID of the feature to configure | |
| projectDir | Yes | Absolute path to the project directory | |
| documentation | No | Documentation references to add | |
| protocolBindings | No | Protocol bindings to apply |