主题
create-run
Generated reference page for
spec/v1/examples/commands/create-run.json.
Metadata
- Type: JSON
- Source:
spec/v1/examples/commands/create-run.json - Raw: View Raw
Summary
- Top-level keys: 7
Source
json
{
"resourceType": "agent",
"resourceId": "demo-agent",
"contextId": "ctx-customer-001",
"input": {
"messages": [
{
"id": "msg-user-1",
"role": "user",
"content": "Summarize the latest deployment status"
}
],
"tools": [
{
"name": "deployments.list",
"description": "List deployment records",
"parametersSchema": {
"type": "object",
"properties": {
"service": {
"type": "string"
}
}
}
}
]
},
"maxRetries": 2,
"webhook": {
"url": "https://example.com/hooks/agent-service",
"eventTypes": ["run.status.changed", "message.completed"]
},
"idempotencyKey": "create-run-demo-agent-ctx-customer-001"
}