text_create
Create an editable text layer in GIMP at specified pixel coordinates to add text to images programmatically. Color accepts CSS/Gegl syntax.
Instructions
Create an editable GIMP text layer at pixel position x/y. Optional color accepts CSS/Gegl syntax.
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": {
"session_id": "<session_id>",
"text": "<text>",
"x": "<x>",
"y": "<y>"
},
"name": "text_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| size | No | ||
| text | Yes | ||
| color | No | ||
| font_name | No | Sans | |
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||