oclaw/openclaw_protocol_schemas/agent.json
oliver ba3836f00f 初始化:独立 oclaw 仓库首提交
- 在 oclaw/ 下重新初始化 Git 仓库
- 补齐子仓库 .gitignore,避免提交本地运行态数据(_local、node_modules、logs 等)
- 提交当前工程代码与配置

Made-with: Cursor
2026-04-24 22:31:22 +08:00

29 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "oclaw://schemas/agent.json",
"title": "AgentParams",
"type": "object",
"additionalProperties": false,
"required": ["message", "idempotencyKey"],
"properties": {
"message": { "type": "string", "minLength": 1 },
"agentId": { "type": "string", "minLength": 1 },
"provider": { "type": "string", "minLength": 1 },
"model": { "type": "string", "minLength": 1 },
"to": { "type": "string", "minLength": 1 },
"replyTo": { "type": "string", "minLength": 1 },
"sessionId": { "type": "string", "minLength": 1 },
"sessionKey": { "type": "string", "minLength": 1 },
"thinking": { "type": "string" },
"deliver": { "type": "boolean" },
"attachments": { "type": "array", "items": {} },
"channel": { "type": "string" },
"timeout": { "type": "integer", "minimum": 0 },
"extraSystemPrompt": { "type": "string" },
"bootstrapContextMode": { "enum": ["full", "lightweight"] },
"bootstrapContextRunKind": { "enum": ["default", "heartbeat", "cron"] },
"idempotencyKey": { "type": "string", "minLength": 1 },
"label": { "type": "string" }
}
}