Record an action
record_actionAppend what an agent did - a tool call, a decision, a message - as a signed, hash-chained entry. This is the thing the workspace is for. Costs 1 unit. Authenticate with the workspace key in _meta[satledger/api-key].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"kind": "<kind>"
},
"name": "record_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| detail | No | Anything you want recorded, as an object. | |
| api_key | No | Your workspace key, if your client cannot set _meta[satledger/api-key]. Prefer _meta: arguments are logged by most clients. | |
| agent_id | Yes |