Execute Capability
execute_capabilityExecute one public SqueezeOS REST path with POST after confirm_write=true. Returns the target result or its x402 challenge. A caller-signed payment_signature may authorize the published SML service fee; the server does not sign wallets. May create records or settle an authorized fee. Operator routes and off-host URLs are denied. API schemas: https://squeezeos-api.onrender.com/.well-known/openapi.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional request body for POST: object, array, string, number, boolean, or null. | |
| path | Yes | Concrete SqueezeOS path beginning with /; do not pass a full URL. | |
| query | No | Optional object of URL query parameters. | |
| confirm_write | Yes | Explicitly authorize this POST operation. | |
| payment_signature | No | Canonical x402 v2 PAYMENT-SIGNATURE value bound to this exact target-resource challenge. | |
| alternative_intent | No | Optional natural-language intent used to rank the closest SML alternative after an unsigned HTTP 402. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Whether the upstream HTTP status is 2xx; not settlement proof. | |
| body | No | Unmodified upstream JSON, or bounded response text. Consult that capability's live schema. | |
| error | No | ||
| charged | No | Present on local/transport failures; these do not establish an upstream charge. | |
| message | No | ||
| auto_spent | No | ||
| status_code | No | Observed upstream HTTP status, or null when no response was obtained. | |
| substituted | No | ||
| content_type | No | ||
| payment_required | No | Observed PAYMENT-REQUIRED header; a challenge does not prove payment. | |
| payment_response | No | Observed PAYMENT-RESPONSE header. Assess it together with accepted delivery. | |
| caller_supplied_authorization | No |