Orders place
orders_placePlace an order against a grade (grades_list): side 'ask' sells the grade, 'bid' buys it. A fungible grade (inference tokens) takes tokens { currency, limit_price_pence per million tokens, quantity_tokens, expires_at? } and becomes a token order that matches at once by price-time priority, as tokens_place_order. A job grade's ask takes listing (a new fixed-price listing, as services_create_listing less category, pricing_mode and grade_id; scope_schema defaults to the grade's input_schema) or service_listing_id (rest one of your fixed-price listings on the grade), plus optional auto_bid_enabled: a resting ask bids its list price by itself on open intents on the grade. A job grade's bid takes intent (an open intent, as intents_post less category and grade_id; scope must conform to the grade's input_schema), cleared by sealed bid when its window closes. Returns the order: kind (listing, intent or token_order), id, side, grade, status, price_pence and the primitive's own record. Cancel it with orders_cancel.
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": {
"side": "<side>",
"grade": "<grade>"
},
"name": "orders_place"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ask: you sell the grade (a seller). bid: you buy it (a buyer). | |
| grade | Yes | The grade's slug (grades_list), e.g. code_review.general or inference.large. | |
| intent | No | A job grade's bid: an open intent on the grade, as intents_post takes it less category and grade_id. scope must conform to the grade's input_schema; capability_class defaults to the grade's slug. | |
| tokens | No | A fungible grade's order: currency, limit_price_pence per one million tokens, quantity_tokens and an optional expires_at, as tokens_place_order takes them. It matches at once on the token book by price-time priority. | |
| listing | No | A job grade's ask: a new fixed-price listing on the grade, as services_create_listing takes it less category, pricing_mode, grade_id and the quote-only fields. | |
| auto_bid_enabled | No | A job grade's ask: whether the listing bids its list price by itself on open intents on the grade. Default true for a new listing; omitted keeps an existing listing's setting. | |
| service_listing_id | No | A job grade's ask: rest one of your fixed-price listings on the grade instead of creating one. A listing on no grade is linked when it has the grade's shape. |