AgentTaskResult agent.task-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/agent/task-result.v1.json
Asynchronous A2A task status and optional result.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | string | yes |
| |
thread | string | yes |
| |
status | enum | yes |
| |
result | object |
| ||
result.role | enum |
| ||
result.parts | array of object | yes |
| |
result.parts[].type | const | yes |
| |
result.parts[].text | string | yes |
| |
updated_at | string | yes |
| |
error | string |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: example
{
"id": "tsk_12345678",
"thread": "thr_12345678",
"status": "completed",
"result": {
"parts": [
{
"type": "text",
"text": "Done"
}
]
},
"updated_at": "2026-11-11T00:00:00Z"
}Rejected: example
{}Validate
const contracts = require('openvibe-contracts');
contracts.validate('agent.task-result@1', value); // { valid, errors: [{ path, message }] }