add_text
Adds standalone text elements to an Excalidraw scene at specified coordinates for labeling diagrams and annotating canvas content.
Instructions
Add standalone text element to the scene.
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": {
"x": "<x>",
"y": "<y>",
"content": "<content>"
},
"name": "add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| content | Yes | ||
| opacity | No | ||
| frame_id | No | ||
| font_size | No | ||
| font_family | No | ||
| strokeColor | No |