save_task_context
Save bounded non-secret baselines, source timestamps and delivered IDs after an authorized task run. expectedRevision prevents overwriting a concurrent run. Does not send notifications.
Save scheduled-task context
Save bounded non-secret baselines, source timestamps and delivered IDs after an authorized task run. expectedRevision prevents overwriting a concurrent run. Does not send notifications.
Permission and calling convention
Required scope: monitors:write. This tool can change account-owned settings or prepare a request. Use only for an intentional user action.
This tool does not sign or broadcast a transaction. Check errors, source timestamps and explicit unavailable fields before using the result.
POST /api/tools/save_task_context
Authorization: Bearer <ULTRON_ACCESS_KEY>
Content-Type: application/jsonInput schema
Inputs are validated against this current schema. Use exact values from live source results rather than substituting a ticker for a contract or a different chain.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"taskKey": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Za-z0-9_.:-]+$"
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"taskKey",
"expectedRevision",
"data"
],
"additionalProperties": false
}