spv_sync_agent_result
Relay the raw ANAF listaMesaje response to archive and classify messages, notify users of critical or important documents, and return PDFs to fetch and upload.
Instructions
Step 2 of an SPV inbox sync: relay the raw ANAF listaMesaje response fetched by the agent. Every message is archived and classified, users are notified (push/email) about critical and important documents, and the response lists the PDFs the agent should now fetch from descarcare and upload with spv_document_upload.
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": {
"statusCode": "<statusCode>",
"body": "<body>"
},
"name": "spv_sync_agent_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Raw response body from ANAF (JSON) | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| statusCode | Yes | HTTP status ANAF returned |