AstrBot-Desktop/docs/protocol/v1/examples/operations-tool-proposal.json

24 行
663 B
JSON

{
"protocolVersion": "1.0",
"eventId": "operations-event-000001",
"serverInstanceId": "mock-operations-1",
"conversationId": "same-conversation",
"timestamp": "2030-01-01T00:00:00Z",
"sequence": 1,
"eventType": "tool.proposal",
"payload": {
"actionId": "mock-action-event-log-1",
"toolName": "query_recent_event_logs",
"reason": "Inspect a bounded set of recent Application events",
"riskLevel": "read",
"arguments": {
"provider": "Application",
"sinceMinutes": 15,
"maxEntries": 20
},
"requestedAt": "2030-01-01T00:00:00Z",
"expiresAt": "2030-01-01T00:05:00Z",
"requiresApproval": true
}
}