Upload a text order (write)
upload_orderUploads a text or Markdown file to create a purchase order in the mock/test tenant, or requeues an existing order when the request ID already exists.
Instructions
POST /order/upload with one text/markdown file built from the given content — for exercising the flow against the mock/test tenant. A request_id that already exists puts that order back into QUEUED and processes it again; a tenant without direct uploads answers 409. Requires AIOTIC_MCP_ALLOW_WRITES=true.
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": {
"filename": "<filename>",
"content": "<content>"
},
"name": "upload_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filename | Yes | ||
| request_id | No |