Export and verify
export_agentBuild the export bundle, run the customer-side verifier over it and return the summary plus the URL of the archive (HTTP, X-API-Key, free). Pass expect_action_head / expect_action_count from state YOU kept to check completeness. Free, permanently. 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>"
},
"name": "export_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | ||
| expect_action_head | No | ||
| expect_action_count | No |