ordan.agent.create
Pair with your owner
Register a persistent agent principal. Asks your owner to approve you on ORDan: returns a pairing URL and code for the human. Once approved, this runtime holds your credential (you never see it) and the other ordan.* tools work.
输入参数name必填capabilitiesmonthly_limit_cents
ordan.agent.status
Connection status
Whether your owner has approved you yet, and what you may do.
无需输入参数。
ordan.line.provision
Get a new Line
Provision a phone identity for an agent: a new Line with its own number, bound to you.
输入参数namecountryapprovalarea_codeidempotency_key
ordan.line.list
List your Lines
List your Lines, with each one's spend this month.
无需输入参数。
ordan.line.update
Update a Line
Rename a Line, or set its monthly spend ceiling in cents (spend ceilings are an owner/key decision — an agent credential can only rename).
输入参数line必填namespend_limit_cents
ordan.line.release
Release a Line
Release one of your Lines and its number (requires numbers.release).
输入参数line必填
ordan.number.list
List your numbers
List your numbers, each with the Line it is attached to: those on your Lines, and any you bought that are not on a Line (requires numbers.provision or numbers.release). Use it to find a number that was bought but not attached to a Line.
无需输入参数。
ordan.number.release
Release a number
Release a number you bought that is not in use on a Line back to the carrier (requires numbers.release). A number on a Line goes with its Line: use ordan.line.release.
输入参数number必填
ordan.call.create
Place a call
Place a policy-checked outbound call. If you have one Line it is used; with several, pass `line`. If policy needs a human, the error carries details.approval_request (apr_…): retry with `approval` set to it once your owner approves.
输入参数to必填linepurposeapprovalcategoryobjectiveidempotency_keymax_duration_seconds
ordan.call.status
Call status
Poll live call state.
输入参数call必填
ordan.call.transfer
Transfer a call
Hand off to a human, mid-call: transfer an in-progress call (policy-checked). If the destination needs your owner's approval, the error carries details.approval_request (apr_…): retry with `approval` once they approve.
输入参数to必填call必填purposeapprovalcategoryidempotency_key
ordan.call.list
List your calls
List your recent calls. status=ringing shows inbound calls waiting to be answered.
输入参数linestatus
ordan.call.answer
Answer a call
Answer a ringing inbound call routed to you (decline with ordan.call.hangup).
输入参数call必填
Hang up a call.
输入参数call必填
ordan.call.dtmf
Press keys on a call
Navigate a phone menu: press keys (DTMF) on a connected call you hold, e.g. "1" or "2w123#" (w = half-second pause). Set sensitive for PINs or account numbers: your owner's ledger shows them masked.
输入参数call必填digits必填sensitive
ordan.call.record
Record a call
Start or stop recording a connected call (requires calls.record). Recordings belong to your owner: you see that one exists, not its audio.
输入参数call必填action必填
ordan.call.report
Report a call's outcome
Report what happened on a call you made or answered: its transcript and/or its structured outcome (e.g. outcome: appointment_rescheduled, fields: { date, time }). Each is recorded once, in your ledger; ORDan adds the call's measured duration.
输入参数call必填fieldsoutcomesummarytranscript
ordan.sms.send
Send an SMS
Send a message from the agent's line. With several Lines, pass `line`. Approval works as for ordan.call.create.
输入参数to必填body必填linepurposeapprovalcategorysmart_encodingidempotency_key
ordan.sms.read
Read your messages
Read your messages: replies and what you sent. Pass `with` for the whole conversation with one number.
输入参数withdirection
ordan.policy.check
Check an action against policy
Evaluate an action before execution: would policy allow it right now? The action is the capability it uses: voice.outbound (a call), sms.send (a text), calls.transfer (a hand-off) or purchases (a purchase: pass merchant and amount_cents).
输入参数tobodycalllineaction必填purposecategorymerchantamount_centssmart_encoding
ordan.purchase.authorize
Authorize a purchase
Ask before you buy: authorize a purchase on your owner's behalf (requires purchases). Within policy (by default up to $50 each) it is authorized at once; above it your owner approves first (retry with `approval`). ORDan never sees card data: pay the merchant yourself, then call ordan.purchase.complete with what was charged.
输入参数purposeapprovalcategorymerchant必填description必填amount_cents必填
ordan.purchase.complete
Complete a purchase
Record that you made an authorized purchase: what was actually charged (never more than authorized) and the merchant's confirmation number.
输入参数receiptpurchase必填amount_cents必填
ordan.purchase.cancel
Cancel a purchase
Give back an authorization you will not use.
输入参数purchase必填
ordan.usage.get
Usage this month
Read spend against limits for this month.
无需输入参数。
ordan.ledger.read
Read your ledger
Read the agent's event history: what happened (calls, texts, approvals) and what it cost.
输入参数limitsincetypes