openclaw_call
Call any JSON-RPC method on the gateway with arbitrary params for endpoints lacking a typed wrapper. Use only when no typed alternative exists.
Instructions
DESTRUCTIVE ESCAPE HATCH — call ANY JSON-RPC method on the gateway with arbitrary params. Use this to operate on endpoints that don't yet have a typed wrapper. The user must validate the exact method name and params on every call (especially anything matching *.add|remove|delete|update|create|write|terminate|reset|approve|reject). For read-only inspection prefer the typed tools (openclaw_cron_list, openclaw_introspect, …) — openclaw_call should only be used when no typed alternative exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | JSON-RPC method name, e.g. 'cron.list', 'session.list'. Discover the full set via openclaw_introspect. | |
| params | No | Method params. MUST be a JSON object matching the gateway's expected shape (e.g. `{}` for no-arg methods). Strings, arrays, or primitives are rejected — the gateway requires an object even when there are no params. | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |