Styles: Set Current Text Style
textstyle_set_currentSet the active text style before creating text or mtext, so new annotations use the chosen style. Fails if the drawing lacks that style.
Instructions
Set $TEXTSTYLE; entity_create_text / entity_create_mtext then
carry the style on both engines. Refuses a style the drawing does not
hold. Returns previous and changed.
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>"
},
"name": "textstyle_set_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Text style to make current (case-insensitive) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||