invoke_pdb_procedure
Invoke GIMP's PDB procedures programmatically using structured values, enabling automation of image editing, layer management, and selections without arbitrary code.
Instructions
Invoke a live PDB procedure using structured positional or keyword values.
Values may be JSON scalars, arrays, or {"scheme_symbol": "ENUM-VALUE"} objects. Arbitrary Scheme source is intentionally not accepted.
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": {
"procedure_name": "<procedure_name>"
},
"name": "invoke_pdb_procedure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| keywords | No | ||
| procedure_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||