img_op
Call any operation by id (see img_catalog). Same price as the endpoint. Image ops take url|base64|data; jobs/submit takes op_id + files[]; jobs/status takes id.
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": {
"op": "<op>"
},
"name": "img_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | jobs/status only: the jobId returned by jobs/submit | |
| op | Yes | operation id, e.g. geometry/sharpen (see img_catalog); also jobs/submit and jobs/status | |
| url | No | image ops: http(s) URL of the input (server fetches it) | |
| data | No | image ops: data: URL | |
| files | No | jobs/submit only: 1-100 inputs | |
| op_id | No | jobs/submit only: the image operation to apply to every file, e.g. resize/w512 | |
| base64 | No | image ops: raw base64 of the input bytes | |
| params | No | jobs/submit only: optional params string, e.g. w=512 |