get_metadata
Retrieve metadata for entity types like customer orders, products, and demands to access states, attributes, and price types. Find order state hrefs needed for updating customer order status.
Instructions
Get metadata for an entity type (states, attributes, price types). Use to find order state hrefs for update_customer_order_status.
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": {
"entity_type": "<entity_type>"
},
"name": "get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | Entity type, e.g. 'customerorder', 'product', 'demand'. Returns states, attributes, etc. |