Call an Omada API operation
omada_call_operationRun any Omada Open API operation by operationId, passing path/query parameters, JSON body, and multipart files; controller IDs auto-fill and results return as JSON.
Instructions
Run any Omada Open API operation by operationId. params: path and query parameters by name (e.g. {"siteId": "Home", "page": 1, "pageSize": 100}). omadacId/mspId are filled in automatically; siteId accepts a site ID or a site name; page/pageSize default to 1/100 when required. body: JSON request body. files: uploads for multipart operations. Reply is the controller's JSON: {errorCode, msg, result}; errorCode 0 means success.
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": {
"operationId": "<operationId>"
},
"name": "omada_call_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (see omada_describe_operation for the schema) | |
| files | No | Files for multipart uploads, keyed by form field name (usually "file"). Each value gives one of path (local file), base64, or text. | |
| params | No | Path and query parameters by name | |
| operationId | Yes |