Call any ReAI API endpoint
reai_requestCall any ReAI API endpoint directly to cover operations missing from curated tools. Authentication and tenant headers are managed automatically.
Instructions
Escape hatch: call any ReAI API endpoint directly. Use it for anything the curated tools do not cover. Discover the endpoint with reai_search_endpoints and check its schema with reai_describe_endpoint first.
Authentication and the tenant header are handled for you. Write calls are subject to the server's write policy, and unrecognised write paths are treated as irreversible and blocked unless REAI_WRITE_MODE=full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, for POST, PUT and PATCH. | |
| path | Yes | Concrete API path with path parameters already substituted, e.g. "/api/customers/1234" (not "/api/customers/{id}"). Must start with "/". | |
| query | No | Query-string parameters. | |
| binary | No | Set for endpoints returning a file (PDF, attachment content). Returns base64 plus content type instead of attempting to parse JSON. | |
| method | Yes | HTTP method. | |
| tenantId | No | ReAI tenant (company) id. Omit to use the active tenant — set one with reai_use_tenant, or list what this token can reach with reai_whoami. |