studio_push_context
Update the active IDE context with current KiCad file data, DRC errors, and selected elements. This keeps AI tools aligned with the design state.
Instructions
Update the active IDE context pushed by KiCad Studio.
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": {
"active_file": "<active_file>",
"file_type": "<file_type>",
"drc_errors": "<drc_errors>"
},
"name": "studio_push_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_type | Yes | ||
| drc_errors | Yes | ||
| active_file | Yes | ||
| selected_net | No | ||
| cursor_position | No | ||
| selected_reference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |