Create via the ApparelHub API
api_createCreate or run authenticated POST requests in the ApparelHub Agent API to change data for capabilities not covered by dedicated tools; call get_api_reference first to choose the correct path.
Instructions
Create something or run an action in the ApparelHub Agent API (https://apparelhub.ai/developer/api-docs) with an authenticated POST, as the connected account. Changes data. 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.
[#610fa1]
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": {
"path": "<path>"
},
"name": "api_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body. | |
| path | Yes | Relative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..". | |
| query | No | Query-string parameters. | |
| workspace | No | Workspace uuid to scope to (agency accounts). |