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.
Parametersnamerequiredcapabilitiesmonthly_limit_cents
ordan.agent.status
Connection status
Whether your owner has approved you yet, and what you may do.
Takes no parameters.
ordan.line.provision
Get a new Line
Provision a phone identity for an agent: a new Line with its own number, bound to you.
Parametersnamecountryapprovalarea_codeidempotency_key
ordan.line.list
List your Lines
List your Lines, with each one's spend this month.
Takes no parameters.
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).
Parameterslinerequirednamespend_limit_cents
ordan.line.release
Release a Line
Release one of your Lines and its number (requires numbers.release).
Parameterslinerequired
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.
Takes no parameters.
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.
Parametersnumberrequired
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.
Parameterstorequiredlinepurposeapprovalcategoryobjectiveidempotency_keymax_duration_seconds
ordan.call.status
Call status
Poll live call state.
Parameterscallrequired
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.
Parameterstorequiredcallrequiredpurposeapprovalcategoryidempotency_key
ordan.call.list
List your calls
List your recent calls. status=ringing shows inbound calls waiting to be answered.
Parameterslinestatus
ordan.call.answer
Answer a call
Answer a ringing inbound call routed to you (decline with ordan.call.hangup).
Parameterscallrequired
Hang up a call.
Parameterscallrequired
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.
Parameterscallrequireddigitsrequiredsensitive
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.
Parameterscallrequiredactionrequired
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.
Parameterscallrequiredfieldsoutcomesummarytranscript
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.
Parameterstorequiredbodyrequiredlinepurposeapprovalcategorysmart_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.
Parameterswithdirection
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).
Parameterstobodycalllineactionrequiredpurposecategorymerchantamount_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.
Parameterspurposeapprovalcategorymerchantrequireddescriptionrequiredamount_centsrequired
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.
Parametersreceiptpurchaserequiredamount_centsrequired
ordan.purchase.cancel
Cancel a purchase
Give back an authorization you will not use.
Parameterspurchaserequired
ordan.usage.get
Usage this month
Read spend against limits for this month.
Takes no parameters.
ordan.ledger.read
Read your ledger
Read the agent's event history: what happened (calls, texts, approvals) and what it cost.
Parameterslimitsincetypes