set_text_variable
Set or add a project text variable in KiCad, merging with existing ones. Use it as ${name} in your design.
Instructions
Set (or add) one project text variable, merging with existing variables.
Args: name: Variable name (referenced as ${name}). value: Variable value.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "set_text_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||