Call an app function
call_functionRun a declared app function with validated args; returns value and write receipt. If args fail validation, the expected schema is returned for direct retry.
Instructions
Run a function an app declares (manifest.functions) — data in, data out, no UI needed. Args are checked against the declared params; failures return the declared schema so the retry needs no extra read. The reply carries the return value plus a receipt per write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| args | No | ||
| actor | No | ||
| function | Yes | ||
| command_id | Yes | idempotency key — generate a fresh uuid per action |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| eot | No | ||
| note | No | ||
| reason | No | ||
| result | No | ||
| writes | No | ||
| available | No | ||
| violations | No |