Invoke capability
invoke_capabilityWHEN: Use when you have chosen a listed skill, the user wants names that match it now, and you are ready to pay.
NOT for: Do not use for quotes, news, or a chart pattern nowhere on this endpoint (head-and-shoulders — say we don’t have that). Do not refuse a NAMED indicator before get_capability ta-primitives has been read, and do not rebuild a held recipe from memory: the composing rules in the routing guide apply to every call here.
Returns: { ok, result } or { ok: false, error }. A priced capability answers an unpaid call with an x402 PaymentRequired naming the exact amount, asset, network and recipient; nothing executes and nothing is charged until a payment verifies. A scan that ran and returned zero names is a completed billable run, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Capability id | |
| input | Yes | Input conforming to the capability's input_schema |