api_request
Escape hatch: make an authenticated request to any ApparelHub agent API endpoint under /agents/v1, as the connected account. PREFER a dedicated tool when one exists (they return clean, guarded results) — use this only for capabilities no tool covers. Call get_api_reference first to find the right path. path is relative (e.g. "orders", "store//settings"); no full URLs. Scoped to the account's own permissions.
[#d82569]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (for POST/PUT/PATCH). | |
| path | Yes | Relative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..". | |
| query | No | Query-string parameters. | |
| method | Yes | HTTP method. | |
| workspace | No | Workspace uuid to scope to (agency accounts). |