← 返回知识库
{
"8hao": [
{
"name": "platform_guide",
"description": "GPT新手入口:首次使用先读all;connect接入,dispatch派单示例,acceptance验收,boundaries授权。只读,不派单或启动执行器。",
"inputSchema": {
"properties": {
"section": {
"default": "all",
"enum": [
"all",
"start",
"connect",
"dispatch",
"acceptance",
"boundaries",
"references"
],
"title": "Section",
"type": "string"
}
},
"title": "platform_guideArguments",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "wake_v2_prepare",
"description": "Enable only an explicit empty-write canary on the original board.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"expected_revision": {
"title": "Expected Revision",
"type": "integer"
}
},
"required": [
"task_id",
"reviewer",
"expected_revision"
],
"title": "wake_v2_prepareArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "wake_v2_prepareOutput",
"type": "object"
}
},
{
"name": "wake_v2_observe_no_executor",
"description": "Read original receipt and register a bounded no-executor observation.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"expected_revision": {
"title": "Expected Revision",
"type": "integer"
},
"expected_fence": {
"title": "Expected Fence",
"type": "integer"
},
"receipt_event_id": {
"title": "Receipt Event Id",
"type": "integer"
}
},
"required": [
"task_id",
"reviewer",
"expected_revision",
"expected_fence",
"receipt_event_id"
],
"title": "wake_v2_observe_no_executorArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "wake_v2_observe_no_executorOutput",
"type": "object"
}
},
{
"name": "wake_v2_supervisor_release",
"description": "Release only a no-write canary after original timeout and verified stopped local process.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"expected_revision": {
"title": "Expected Revision",
"type": "integer"
},
"expected_fence": {
"title": "Expected Fence",
"type": "integer"
},
"evidence_ref": {
"title": "Evidence Ref",
"type": "string"
}
},
"required": [
"task_id",
"reviewer",
"expected_revision",
"expected_fence",
"evidence_ref"
],
"title": "wake_v2_supervisor_releaseArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "wake_v2_supervisor_releaseOutput",
"type": "object"
}
},
{
"name": "list_tasks",
"description": "列出看板任务。可按状态、负责人过滤。支持分页与紧凑短结果。\n\n Args:\n status: 状态过滤(ready/running/review/done/blocked/archived),可选\n assignee: 负责人过滤,可选\n tenant: 租户过滤,默认 'infra'\n include_archived: 是否包含归档任务,默认 False\n compact: 是否返回紧凑短结果,默认 False\n short: compact的别名,默认 False\n limit: 每页数量,默认 100(最大 500)\n offset: 分页偏移量,默认 0\n ",
"inputSchema": {
"properties": {
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Status"
},
"assignee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Assignee"
},
"tenant": {
"default": "infra",
"title": "Tenant",
"type": "string"
},
"include_archived": {
"default": false,
"title": "Include Archived",
"type": "boolean"
},
"compact": {
"default": false,
"title": "Compact",
"type": "boolean"
},
"short": {
"default": false,
"title": "Short",
"type": "boolean"
},
"limit": {
"default": 100,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"title": "list_tasksArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_tasksOutput",
"type": "object"
}
},
{
"name": "create_task",
"description": "按任务卡规范创建任务。标题、目标、范围、验收标准为必填。\n\n Args:\n title: 任务标题\n objective: 预期结果\n scope: 本任务边界和交付范围\n acceptance_criteria: 可核对的验收条件,至少一条\n body: 任务详情/正文\n priority: 缓急 P0–P10,P0 最急,默认 P2。urgent/high/medium/low 仍可用\n assignee: 固定负责人;不填时 assignment_mode 可选 auto 或 self\n assignment_mode: fixed/auto/self,默认 self\n task_type: frontend/backend/database/ops/cockpit/docs/coordinator/general 等\n tenant: 租户,默认 'infra'\n workspace_kind: 工作区类型,默认 'infra'\n branch_name: 关联分支名,可选\n ",
"inputSchema": {
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"objective": {
"title": "Objective",
"type": "string"
},
"scope": {
"title": "Scope",
"type": "string"
},
"acceptance_criteria": {
"items": {
"type": "string"
},
"title": "Acceptance Criteria",
"type": "array"
},
"body": {
"default": "",
"title": "Body",
"type": "string"
},
"priority": {
"default": "medium",
"title": "Priority",
"type": "string"
},
"assignee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Assignee"
},
"assignment_mode": {
"default": "self",
"title": "Assignment Mode",
"type": "string"
},
"task_type": {
"default": "general",
"title": "Task Type",
"type": "string"
},
"read_scope": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Read Scope"
},
"write_scope": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Write Scope"
},
"forbidden_actions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Forbidden Actions"
},
"context_refs": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Context Refs"
},
"resources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Resources"
},
"required_capabilities": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Required Capabilities"
},
"reviewer_profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reviewer Profile"
},
"tenant": {
"default": "infra",
"title": "Tenant",
"type": "string"
},
"workspace_kind": {
"default": "infra",
"title": "Workspace Kind",
"type": "string"
},
"branch_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Branch Name"
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
},
"task_class": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Class"
},
"v2_task_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "V2 Task Type"
},
"deadline": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Deadline"
},
"parent_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Task Id"
},
"correlation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Correlation Id"
},
"task_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Level"
},
"rating_task_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Rating Task Type"
},
"task_role": {
"default": "WORKER",
"title": "Task Role",
"type": "string"
}
},
"required": [
"title",
"objective",
"scope",
"acceptance_criteria"
],
"title": "create_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "create_taskOutput",
"type": "object"
}
},
{
"name": "get_task",
"description": "获取单个任务详情(含评论数、事件数)。支持 compact/short 短结果模式。\n\n Args:\n task_id: 任务ID\n compact: 是否返回紧凑短结果(默认 False,保持原全量字段兼容)\n short: compact的别名(默认 False)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"compact": {
"default": false,
"title": "Compact",
"type": "boolean"
},
"short": {
"default": false,
"title": "Short",
"type": "boolean"
}
},
"required": [
"task_id"
],
"title": "get_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_taskOutput",
"type": "object"
}
},
{
"name": "get_task_comments",
"description": "分页获取任务的全部评论(按时间正序)。\n\n Args:\n task_id: 任务ID\n limit: 每页数量,默认 50(最大 200)\n offset: 偏移量,默认 0\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"limit": {
"default": 50,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"required": [
"task_id"
],
"title": "get_task_commentsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_task_commentsOutput",
"type": "object"
}
},
{
"name": "get_task_events",
"description": "分页获取任务的事件记录(按时间倒序)。\n\n Args:\n task_id: 任务ID\n limit: 每页数量,默认 50(最大 200)\n offset: 偏移量,默认 0\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"limit": {
"default": 50,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"required": [
"task_id"
],
"title": "get_task_eventsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_task_eventsOutput",
"type": "object"
}
},
{
"name": "joint_search",
"description": "联合关键词检索:打通 经验库 -> 历史任务(含归档) -> 标准与许可产物。\n\n Args:\n keyword: 检索关键词\n include_archived: 是否包含已归档历史任务,默认 True\n limit: 每类最大命中返回数,默认 20\n ",
"inputSchema": {
"properties": {
"keyword": {
"title": "Keyword",
"type": "string"
},
"include_archived": {
"default": true,
"title": "Include Archived",
"type": "boolean"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
}
},
"required": [
"keyword"
],
"title": "joint_searchArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "joint_searchOutput",
"type": "object"
}
},
{
"name": "claim",
"description": "认领任务。将 claim_lock 设为 profile,状态从 ready→running。\n\n 前置条件:claim_lock 必须为空(未被他人认领)。\n\n worker_instance_id 是该次尝试的原生实例ID(8号敲棍 knocker:<hash>,9号接收器\n receiver9-v1:<...>)。父链只在已有可信派单关系时提供;无法证明身份时按\n unknown 记账,不冒充顶层主体。\n\n Args:\n task_id: 任务ID\n profile: 认领者身份标识(如 'codex'、'agent-1')\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"canary_executor_pid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Canary Executor Pid"
},
"grant_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Grant Token"
},
"worker_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Worker Instance Id"
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Request Id"
},
"expected_contract_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Contract Hash"
},
"parent_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Instance Id"
},
"root_agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Root Agent Id"
}
},
"required": [
"task_id",
"profile"
],
"title": "claimArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "claimOutput",
"type": "object"
}
},
{
"name": "reserve_execution",
"description": "Before Popen, reserve the executor of this native, already claimed dispatch.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"request_id": {
"title": "Request Id",
"type": "string"
},
"receiver_instance_id": {
"title": "Receiver Instance Id",
"type": "string"
},
"expected_claim_started_at": {
"title": "Expected Claim Started At",
"type": "integer"
},
"expected_claim_expires": {
"title": "Expected Claim Expires",
"type": "integer"
},
"parent_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Instance Id"
},
"root_agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Root Agent Id"
},
"dispatch_event": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Dispatch Event"
},
"lease_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Lease Fence"
}
},
"required": [
"task_id",
"profile",
"request_id",
"receiver_instance_id",
"expected_claim_started_at",
"expected_claim_expires"
],
"title": "reserve_executionArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "reserve_executionOutput",
"type": "object"
}
},
{
"name": "bind_execution",
"description": "Bind the actual Popen process to its one prelaunch reservation.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"reservation_id": {
"title": "Reservation Id",
"type": "string"
},
"receiver_instance_id": {
"title": "Receiver Instance Id",
"type": "string"
},
"executor_instance_id": {
"title": "Executor Instance Id",
"type": "string"
}
},
"required": [
"task_id",
"profile",
"reservation_id",
"receiver_instance_id",
"executor_instance_id"
],
"title": "bind_executionArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "bind_executionOutput",
"type": "object"
}
},
{
"name": "release_execution",
"description": "Release only after observed Popen failure or actual executor exit.\n\n Dispatcher exit, lost heartbeat and lease expiry are not release evidence.\n Existing transport/grant determines the caller's profile; receipt IDs do not\n confer another OS account or task's authorization.\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"reservation_id": {
"title": "Reservation Id",
"type": "string"
},
"receiver_instance_id": {
"title": "Receiver Instance Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"executor_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Executor Instance Id"
},
"process_exited": {
"default": false,
"title": "Process Exited",
"type": "boolean"
},
"returncode": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Returncode"
},
"executor_pid": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Executor Pid"
},
"launch_failed": {
"default": false,
"title": "Launch Failed",
"type": "boolean"
}
},
"required": [
"task_id",
"profile",
"reservation_id",
"receiver_instance_id",
"reason"
],
"title": "release_executionArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "release_executionOutput",
"type": "object"
}
},
{
"name": "complete",
"description": "提交完成结果,交付卡进入 review。\n\n 前置条件:任务状态必须是 running。\n expected_claim_started_at/expected_claim_expires 必须成对传入,并提供当前 profile;\n 仅旧协议任务启用原子租约比较,成功续期后下一调用须使用返回的新 expiry。\n 未传这两个参数保持既有调用行为;此比较不是 V2 fence。\n\n\n Args:\n task_id: 任务ID\n summary: 完成摘要(写入 result 字段)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Profile"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_claim_started_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Started At"
},
"expected_claim_expires": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Expires"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
}
},
"required": [
"task_id",
"summary"
],
"title": "completeArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "completeOutput",
"type": "object"
}
},
{
"name": "clear_claim",
"description": "清除任务认领锁。将 claim_lock 置空,状态回退到 ready。\n\n 用于任务放弃、超时或需要重新分配的场景。\n\n Args:\n task_id: 任务ID\n expected_claim: 巡检时记录的认领信息,提供时须在写事务内匹配 running 卡。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"expected_claim": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim"
}
},
"required": [
"task_id"
],
"title": "clear_claimArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "clear_claimOutput",
"type": "object"
}
},
{
"name": "add_comment",
"description": "给任务添加评论。\n\n Args:\n task_id: 任务ID\n author: 评论作者\n body: 评论内容\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"author": {
"title": "Author",
"type": "string"
},
"body": {
"title": "Body",
"type": "string"
}
},
"required": [
"task_id",
"author",
"body"
],
"title": "add_commentArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "add_commentOutput",
"type": "object"
}
},
{
"name": "add_event",
"description": "给任务添加自定义事件(审计追踪用)。\n\n Args:\n task_id: 任务ID\n kind: 事件类型(如 'progress'、'blocked'、'note'、'custom')\n payload: 事件载荷(JSON 字符串)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"kind": {
"title": "Kind",
"type": "string"
},
"payload": {
"title": "Payload",
"type": "string"
}
},
"required": [
"task_id",
"kind",
"payload"
],
"title": "add_eventArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "add_eventOutput",
"type": "object"
}
},
{
"name": "record_child_finished",
"description": "显式记录分身完成(供不上报presence的启动入口)。主体须已在同一任务上报实例;重复投递按 child_key 去重,不覆盖首次结果。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"parent_instance_id": {
"title": "Parent Instance Id",
"type": "string"
},
"child_instance_id": {
"title": "Child Instance Id",
"type": "string"
},
"run_id": {
"title": "Run Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"outcome": {
"title": "Outcome",
"type": "string"
},
"artifact": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Artifact"
},
"failure_reason": {
"default": "",
"title": "Failure Reason",
"type": "string"
},
"result_ref": {
"default": "",
"title": "Result Ref",
"type": "string"
},
"root_agent_id": {
"default": "",
"title": "Root Agent Id",
"type": "string"
},
"finished_at": {
"default": "",
"title": "Finished At",
"type": "string"
}
},
"required": [
"task_id",
"parent_instance_id",
"child_instance_id",
"run_id",
"profile",
"outcome"
],
"title": "record_child_finishedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "record_child_finishedOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "ack_child_finished",
"description": "由具名主体实例确认已处理某条 child_finished;重复确认按 ack_key 去重。ack 不等于任务验收。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"child_finished_event_id": {
"title": "Child Finished Event Id",
"type": "integer"
},
"parent_instance_id": {
"title": "Parent Instance Id",
"type": "string"
},
"parent_profile": {
"title": "Parent Profile",
"type": "string"
},
"disposition": {
"default": "received",
"title": "Disposition",
"type": "string"
},
"note": {
"default": "",
"title": "Note",
"type": "string"
},
"evidence": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Evidence"
}
},
"required": [
"task_id",
"child_finished_event_id",
"parent_instance_id",
"parent_profile"
],
"title": "ack_child_finishedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "ack_child_finishedOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "child_handoff_status",
"description": "只读查询分身完成与主体确认:区分已落盘、主体已确认、待主体处理及冲突/重复。",
"inputSchema": {
"properties": {
"task_id": {
"default": "",
"title": "Task Id",
"type": "string"
},
"parent_instance_id": {
"default": "",
"title": "Parent Instance Id",
"type": "string"
}
},
"title": "child_handoff_statusArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "child_handoff_statusOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "edit_task",
"description": "编辑未持锁的ready/blocked原卡,先get_task取得edit_token,保留审计。\n\n changes支持title/objective/scope/body/acceptance_criteria/priority/assignee/assignment_mode/task_type/read_scope/write_scope/resources/forbidden_actions/context_refs/required_capabilities/reviewer_profile。\n priority用P0–P10,P0最急;urgent/high/medium/low仍可用。重新指派用fixed及明确assignee;不能改status/claim_lock/result,不能覆盖执行中范围。编辑不自动敲棍;读回后调用activate_task_knocker。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"changes": {
"additionalProperties": true,
"title": "Changes",
"type": "object"
},
"expected_edit_token": {
"title": "Expected Edit Token",
"type": "string"
},
"editor": {
"title": "Editor",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"task_id",
"changes",
"expected_edit_token",
"editor",
"reason"
],
"title": "edit_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "edit_taskOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false
}
},
{
"name": "activate_task_knocker",
"description": "按代码敲醒原卡负责人。agent_code 为空时仍只敲 codex-router。\n\n 代码见 list_agent_knockers,默认与原卡 assignee 一致;AGY2另可按注册表显式授权读卡督查,不转移实施或验收权。grok、hermes-8、dsh、agy、分身进入现有敲棍定时器排队;codex 仍走原会话队列;hermes-9 仍走原 9 号接收器,不另起一个。started/pending 不是已读卡,unknown 不重复启动。parent_instance_id 可选:主体已在同任务上报的运行实例,启动回执随之保存,子进程结束后由原观察器上报父实例。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"expected_edit_token": {
"title": "Expected Edit Token",
"type": "string"
},
"request_id": {
"title": "Request Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"actor": {
"default": "chatgpt-strategy",
"title": "Actor",
"type": "string"
},
"agent_code": {
"default": "",
"title": "Agent Code",
"type": "string"
},
"parent_instance_id": {
"default": "",
"title": "Parent Instance Id",
"type": "string"
},
"root_agent_id": {
"default": "",
"title": "Root Agent Id",
"type": "string"
}
},
"required": [
"task_id",
"expected_edit_token",
"request_id",
"reason"
],
"title": "activate_task_knockerArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "activate_task_knockerOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false
}
},
{
"name": "list_agent_knockers",
"description": "只读列出敲棍代码、对应负责人和是否会真正启动。不敲任何任务。",
"inputSchema": {
"properties": {},
"title": "list_agent_knockersArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_agent_knockersOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "task_knocker_status",
"description": "核对本次敲棍的原生turn/队列与原卡接收回执,保存实际对账证据。不启动执行、不重发;unknown先用本工具核对。turn完成不代表任务验收。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"request_id": {
"title": "Request Id",
"type": "string"
}
},
"required": [
"task_id",
"request_id"
],
"title": "task_knocker_statusArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "task_knocker_statusOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "review_handoff",
"description": "复用合法审核交接机制:使指定审核人、实际投递和唯一租约一致。\n\n 前置条件:必须是 unclaimed legacy review 任务;检查审核人资格与原任务版本。\n 同一 request_id 幂等返回既有回执,不产生重复租约。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"request_id": {
"title": "Request Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"evidence_ref": {
"title": "Evidence Ref",
"type": "string"
},
"expected_snapshot": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Snapshot"
}
},
"required": [
"task_id",
"reviewer",
"request_id",
"reason",
"evidence_ref"
],
"title": "review_handoffArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "review_handoffOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": false
}
},
{
"name": "review_receive",
"description": "核对审核者通过已认证入口写入的接收评论,登记合法交接的实际投递确认。",
"inputSchema": {
"properties": {
"request_id": {
"title": "Request Id",
"type": "string"
},
"comment_id": {
"title": "Comment Id",
"type": "integer"
}
},
"required": [
"request_id",
"comment_id"
],
"title": "review_receiveArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "review_receiveOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "review_handoff_status",
"description": "查询指定交接请求的租约状态与详细信息。",
"inputSchema": {
"properties": {
"request_id": {
"title": "Request Id",
"type": "string"
}
},
"required": [
"request_id"
],
"title": "review_handoff_statusArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "review_handoff_statusOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "review_cancel_unsent",
"description": "在确认投递未发出且未接收时,安全补偿取消活跃租约并恢复原审核人。",
"inputSchema": {
"properties": {
"request_id": {
"title": "Request Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"request_id",
"reason"
],
"title": "review_cancel_unsentArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "review_cancel_unsentOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true
}
},
{
"name": "register_agent",
"description": "登记或更新智能体能力;自动路由只考虑最近 24 小时有心跳的智能体。",
"inputSchema": {
"properties": {
"profile": {
"title": "Profile",
"type": "string"
},
"capabilities": {
"items": {
"type": "string"
},
"title": "Capabilities",
"type": "array"
},
"display_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Display Name"
},
"max_active": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Max Active"
}
},
"required": [
"profile",
"capabilities"
],
"title": "register_agentArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "register_agentOutput",
"type": "object"
}
},
{
"name": "heartbeat_task",
"description": "续期运行中任务的资源锁 15 分钟;执行智能体应每 5 分钟调用一次。\n expected_claim_started_at/expected_claim_expires 必须成对传入,并提供当前 profile;\n 仅旧协议任务启用原子租约比较,成功续期后下一调用须使用返回的新 expiry。\n 未传这两个参数保持既有调用行为;此比较不是 V2 fence。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_claim_started_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Started At"
},
"expected_claim_expires": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Expires"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
}
},
"required": [
"task_id",
"profile"
],
"title": "heartbeat_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "heartbeat_taskOutput",
"type": "object"
}
},
{
"name": "list_agents",
"description": "列出智能体能力、心跳和负载。",
"inputSchema": {
"properties": {},
"title": "list_agentsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_agentsOutput",
"type": "object"
}
},
{
"name": "route_task",
"description": "将 ready 且 assignment_mode=auto 的任务按能力和负载重新路由。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "route_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "route_taskOutput",
"type": "object"
}
},
{
"name": "accept_task",
"description": "验收 review 任务,交付卡须提供结构化 evidence 并通过异引擎验收闸。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"note": {
"default": "",
"title": "Note",
"type": "string"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"evidence_ref": {
"default": "",
"title": "Evidence Ref",
"type": "string"
},
"evidence": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Evidence"
}
},
"required": [
"task_id",
"reviewer"
],
"title": "accept_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "accept_taskOutput",
"type": "object"
}
},
{
"name": "request_changes",
"description": "复核不通过时附原因,交付卡进入 rework 供原负责人重新认领。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"title": "Reviewer",
"type": "string"
},
"note": {
"title": "Note",
"type": "string"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"failure_class": {
"default": "UNKNOWN",
"title": "Failure Class",
"type": "string"
},
"evidence_ref": {
"default": "",
"title": "Evidence Ref",
"type": "string"
}
},
"required": [
"task_id",
"reviewer",
"note"
],
"title": "request_changesArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "request_changesOutput",
"type": "object"
}
},
{
"name": "block_task",
"description": "标记执行阻塞并释放资源锁;必须记录可行动的原因。\n expected_claim_started_at/expected_claim_expires 必须成对传入,并提供当前 profile;\n 仅旧协议任务启用原子租约比较,成功续期后下一调用须使用返回的新 expiry。\n 未传这两个参数保持既有调用行为;此比较不是 V2 fence。\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_claim_started_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Started At"
},
"expected_claim_expires": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Claim Expires"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
}
},
"required": [
"task_id",
"profile",
"reason"
],
"title": "block_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "block_taskOutput",
"type": "object"
}
},
{
"name": "unblock_task",
"description": "解除阻塞回到 ready;auto 任务重新计算路由。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"note": {
"default": "",
"title": "Note",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "unblock_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "unblock_taskOutput",
"type": "object"
}
},
{
"name": "archive_task",
"description": "软归档任务;仅 ready/review/done/blocked 可归档;归档不代表业务验收通过,默认查询与 Hub 隐藏归档项。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"task_id",
"reason"
],
"title": "archive_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "archive_taskOutput",
"type": "object"
}
},
{
"name": "restore_task",
"description": "恢复归档任务到归档前状态。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "restore_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "restore_taskOutput",
"type": "object"
}
},
{
"name": "health",
"description": "健康检查。返回 DB 状态、任务数、文档库状态、绑定端口。",
"inputSchema": {
"properties": {},
"title": "healthArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "healthOutput",
"type": "object"
}
},
{
"name": "corner_new_topic",
"description": "剧本角:新建一个剧本讨论话题。\n\n 用途:多智能体讨论剧本写法要点与方案,老郑(boss)会以参谋身份在话题里拍板。\n 发言礼仪:陈述事实标注来源(数据/脚本/历史成片);给方案用【方案】开头;\n 反驳要给理由;话题解决后由老郑或发起人发结论帖。\n\n Args:\n title: 话题标题(如 \"HM26688 三色片剧本差异化方案\"),<=120 字\n author: 发起人名字(智能体用 profile 名,如 \"codex-router\";人类用真名)\n first_post: 首帖内容:议题背景、要点、候选方案,<=8000 字\n sku: 关联款号(可空)\n role: 身份:ai=智能体 / boss=老板 / human=其他人\n ",
"inputSchema": {
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"author": {
"title": "Author",
"type": "string"
},
"first_post": {
"default": "",
"title": "First Post",
"type": "string"
},
"sku": {
"default": "",
"title": "Sku",
"type": "string"
},
"role": {
"default": "ai",
"title": "Role",
"type": "string"
}
},
"required": [
"title",
"author"
],
"title": "corner_new_topicArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "corner_new_topicOutput",
"type": "object"
}
},
{
"name": "corner_post",
"description": "剧本角:在某话题下发一条讨论(要点/方案/质疑/结论)。\n\n 礼仪同 corner_new_topic;引用别人观点先写 @楼层号。\n Args:\n topic_id: 话题ID(corner_list_topics 里拿)\n author: 发言人名字\n content: 发言内容,<=8000 字\n role: 身份:ai=智能体 / boss=老板 / human=其他人\n ",
"inputSchema": {
"properties": {
"topic_id": {
"title": "Topic Id",
"type": "integer"
},
"author": {
"title": "Author",
"type": "string"
},
"content": {
"title": "Content",
"type": "string"
},
"role": {
"default": "ai",
"title": "Role",
"type": "string"
}
},
"required": [
"topic_id",
"author",
"content"
],
"title": "corner_postArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "corner_postOutput",
"type": "object"
}
},
{
"name": "corner_list_topics",
"description": "剧本角:列出讨论话题(按最后活跃倒序),含真实摘要状态、覆盖水位与增量指纹。\n\n 每条记录都带可追溯字段:post_count、latest_post_id、latest_post_ts、\n last_post.id(最后一条原帖的真实ID)。摘要只有带作者/版本/覆盖水位时才\n 披露文本(summary.state=valid),缺失=missing、坏条目=invalid,均不生成假摘要。\n coverage_watermark=摘要覆盖到的最后帖ID,无有效摘要时为 null(unknown)。\n catalog_version 只在目录内话题/帖数/最新帖/更新时间变化时改变,可用于增量判据;\n 需要正文时按 topic_id 调 discussion_context,再按引用调 context_detail。\n\n Args:\n limit: 最多返回条数,默认 20(上限 100)\n offset: 分页偏移,默认 0\n ",
"inputSchema": {
"properties": {
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
},
"offset": {
"default": 0,
"title": "Offset",
"type": "integer"
}
},
"title": "corner_list_topicsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "corner_list_topicsOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "corner_read_topic",
"description": "剧本角:读取某话题的全部楼层(按时间正序)。\n\n Args:\n topic_id: 话题ID\n ",
"inputSchema": {
"properties": {
"topic_id": {
"title": "Topic Id",
"type": "integer"
}
},
"required": [
"topic_id"
],
"title": "corner_read_topicArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "corner_read_topicOutput",
"type": "object"
}
},
{
"name": "task_board_v2_tasks",
"description": "Read-only V2 derived view; legacy list_tasks schema remains unchanged.",
"inputSchema": {
"properties": {
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
},
"task_class": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Class"
},
"priority_band": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Priority Band"
},
"stale": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Stale"
}
},
"title": "task_board_v2_tasksArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "task_board_v2_tasksOutput",
"type": "object"
}
},
{
"name": "reviewer_eligibility",
"description": "Read original task reviewer eligibility; no profile/grade/routing mutations.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "reviewer_eligibilityArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "reviewer_eligibilityOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false
}
},
{
"name": "task_board_v2_route_preview",
"description": "Evidence-gated rules only; never assigns or wakes an agent.",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reviewer": {
"default": false,
"title": "Reviewer",
"type": "boolean"
}
},
"required": [
"task_id"
],
"title": "task_board_v2_route_previewArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "task_board_v2_route_previewOutput",
"type": "object"
}
},
{
"name": "create_v2_task",
"description": "V2 new-task entry requires all identity fields; legacy create_task remains compatible.",
"inputSchema": {
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"objective": {
"title": "Objective",
"type": "string"
},
"scope": {
"title": "Scope",
"type": "string"
},
"acceptance_criteria": {
"items": {
"type": "string"
},
"title": "Acceptance Criteria",
"type": "array"
},
"project": {
"title": "Project",
"type": "string"
},
"task_class": {
"title": "Task Class",
"type": "string"
},
"v2_task_type": {
"title": "V2 Task Type",
"type": "string"
},
"priority": {
"default": "medium",
"title": "Priority",
"type": "string"
},
"deadline": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Deadline"
},
"assignee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Assignee"
},
"reviewer_profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reviewer Profile"
},
"resources": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Resources"
},
"parent_task_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Task Id"
},
"task_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Level"
},
"task_role": {
"default": "WORKER",
"title": "Task Role",
"type": "string"
}
},
"required": [
"title",
"objective",
"scope",
"acceptance_criteria",
"project",
"task_class",
"v2_task_type"
],
"title": "create_v2_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "create_v2_taskOutput",
"type": "object"
}
},
{
"name": "task_board_v2_agents",
"description": "Current registry facts; absence/quota unknown is never interpreted as availability.",
"inputSchema": {
"properties": {},
"title": "task_board_v2_agentsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "task_board_v2_agentsOutput",
"type": "object"
}
},
{
"name": "heartbeat_task_guarded",
"description": "旧协议专用原子续租;参数必填,新名称在旧服务必然拒绝。V2仍使用原fence路径。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"expected_claim_started_at": {
"title": "Expected Claim Started At",
"type": "integer"
},
"expected_claim_expires": {
"title": "Expected Claim Expires",
"type": "integer"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
}
},
"required": [
"task_id",
"profile",
"expected_claim_started_at",
"expected_claim_expires"
],
"title": "heartbeat_task_guardedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "heartbeat_task_guardedOutput",
"type": "object"
}
},
{
"name": "complete_guarded",
"description": "旧协议原子交付,V2 仍校验原 fence。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"expected_claim_started_at": {
"title": "Expected Claim Started At",
"type": "integer"
},
"expected_claim_expires": {
"title": "Expected Claim Expires",
"type": "integer"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
}
},
"required": [
"task_id",
"summary",
"profile",
"expected_claim_started_at",
"expected_claim_expires"
],
"title": "complete_guardedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "complete_guardedOutput",
"type": "object"
}
},
{
"name": "block_task_guarded",
"description": "旧协议专用原子阻塞;失租拒绝,不释放后来持有人的锁。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"expected_claim_started_at": {
"title": "Expected Claim Started At",
"type": "integer"
},
"expected_claim_expires": {
"title": "Expected Claim Expires",
"type": "integer"
},
"attempt_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Attempt Id"
},
"claim_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Claim Token"
},
"expected_revision": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Revision"
},
"expected_fence": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Fence"
}
},
"required": [
"task_id",
"profile",
"reason",
"expected_claim_started_at",
"expected_claim_expires"
],
"title": "block_task_guardedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "block_task_guardedOutput",
"type": "object"
}
},
{
"name": "agent_capability_scores",
"description": "各智能体TaskType×Role初始/当前等级、积分、失败证据与L1-L10标准。",
"inputSchema": {
"properties": {
"profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Profile"
}
},
"title": "agent_capability_scoresArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "agent_capability_scoresOutput",
"type": "object"
}
},
{
"name": "grade_task",
"description": "Chief为原任务定级;等级与优先级分开,执行/审查分开。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"task_level": {
"title": "Task Level",
"type": "integer"
},
"rating_task_type": {
"title": "Rating Task Type",
"type": "string"
},
"task_role": {
"title": "Task Role",
"type": "string"
},
"actor": {
"title": "Actor",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"task_id",
"task_level",
"rating_task_type",
"task_role",
"actor",
"reason"
],
"title": "grade_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "grade_taskOutput",
"type": "object"
}
},
{
"name": "route_escalated_task",
"description": "三次失败后只向当前等级足够的在线替代者重新分配;无人可接则保留blocked。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"actor": {
"title": "Actor",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
}
},
"required": [
"task_id",
"actor",
"reason"
],
"title": "route_escalated_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "route_escalated_taskOutput",
"type": "object"
}
},
{
"name": "task_context",
"description": "紧凑只读任务上下文:一次拿目标/全部验收条件/状态/真实执行归属与新鲜度/产物引用/关键事件。\n\n 替代 get_task+get_task_events+get_task_comments 的多轮读取;超预算显式给省略计数与\n 可恢复的 detail 引用(用 context_detail 取全文)。缺失执行或过期租约标 unknown/stale,\n 不把 assignee 当活跃执行者,不把截断当摘要。budget=2000..65536,limit=1..50。\n\n Args:\n task_id: 任务ID,如 t_ef18dae1\n budget: 返回正文字节预算(MCP 外壳另计),默认 8192\n limit: 关键事件/产物条目上限,默认 10\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"budget": {
"default": 8192,
"title": "Budget",
"type": "integer"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
}
},
"required": [
"task_id"
],
"title": "task_contextArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "task_contextOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "discussion_context",
"description": "剧本角紧凑只读讨论上下文:目录级摘要状态 + 覆盖水位 + 最新原帖引用。\n\n 摘要只有真实读过原帖、带 version/作者/覆盖水位时才披露(state=valid);\n 缺摘要=missing,坏摘要=invalid,均不给文本。水位之后的新帖计入\n uncovered_count(freshness=stale),水位之前未读的帖计入 unread_before_count\n 并保持 unknown。用 latest_posts[*] 引用调 context_detail 按需读取原帖全文\n (版本绑定:话题有新帖后旧引用返回 stale reference)。\n budget=2000..65536,limit=1..50。\n\n Args:\n topic_id: 剧本角话题ID,如 11\n budget: 返回正文字节预算(MCP 外壳另计),默认 8192\n limit: 最新原帖引用条数上限,默认 10\n ",
"inputSchema": {
"properties": {
"topic_id": {
"title": "Topic Id",
"type": "integer"
},
"budget": {
"default": 8192,
"title": "Budget",
"type": "integer"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
}
},
"required": [
"topic_id"
],
"title": "discussion_contextArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "discussion_contextOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
},
{
"name": "context_detail",
"description": "按 task_context/discussion_context 返回的 detail 引用读取原文(分页,版本绑定)。\n\n 引用含 kind/id/field/version;版本不符返回 stale reference,换对象/跨主体引用被拒。\n 未完成时返回 cursor,把它原样传回取下一页(cursor 有服务端签名)。\n\n Args:\n reference: 来自上下文的 detail 引用对象 {kind,id,field,version}\n cursor: 上一页返回的 cursor,首页留空\n budget: 单页正文字节预算,默认 8192\n ",
"inputSchema": {
"properties": {
"reference": {
"additionalProperties": true,
"title": "Reference",
"type": "object"
},
"cursor": {
"default": "",
"title": "Cursor",
"type": "string"
},
"budget": {
"default": 8192,
"title": "Budget",
"type": "integer"
}
},
"required": [
"reference"
],
"title": "context_detailArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "context_detailOutput",
"type": "object"
},
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}
}
],
"5hao": [
{
"name": "peer_stats",
"description": "8号看板总览(只读):任务总数、按状态分布、健康度。云端定时任务适合先用它探活。",
"inputSchema": {
"properties": {},
"title": "peer_statsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "peer_statsOutput",
"type": "object"
}
},
{
"name": "peer_list_tasks",
"description": "8号看板任务列表(只读)。status 可填 ready/blocked/running/done/archived;limit 上限 50。",
"inputSchema": {
"properties": {
"status": {
"default": "",
"title": "Status",
"type": "string"
},
"limit": {
"default": 20,
"title": "Limit",
"type": "integer"
},
"query": {
"default": "",
"title": "Query",
"type": "string"
}
},
"title": "peer_list_tasksArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "peer_list_tasksOutput",
"type": "object"
}
},
{
"name": "peer_get_task",
"description": "读 8号看板单张卡的详情(只读)。task_id 形如 t_1a2b3c4d。",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "peer_get_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "peer_get_taskOutput",
"type": "object"
}
},
{
"name": "auth_register",
"description": "注册执行者身份(密码自己定,≥6位)。已注册则改密。注册成功返回 token(30 天有效)。",
"inputSchema": {
"properties": {
"identity": {
"title": "Identity",
"type": "string"
},
"password": {
"title": "Password",
"type": "string"
}
},
"required": [
"identity",
"password"
],
"title": "auth_registerArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "auth_registerOutput",
"type": "object"
}
},
{
"name": "auth_login",
"description": "执行者登录:密码验证通过返回 token(30 天有效)。之后 claim 带 token 免密。",
"inputSchema": {
"properties": {
"identity": {
"title": "Identity",
"type": "string"
},
"password": {
"title": "Password",
"type": "string"
}
},
"required": [
"identity",
"password"
],
"title": "auth_loginArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "auth_loginOutput",
"type": "object"
}
},
{
"name": "ip_block",
"description": "封禁来源 IP(首次信任后发现违规用)。被封 IP 无法再认领任务。",
"inputSchema": {
"properties": {
"ip": {
"title": "Ip",
"type": "string"
},
"reason": {
"default": "违规",
"title": "Reason",
"type": "string"
}
},
"required": [
"ip"
],
"title": "ip_blockArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "ip_blockOutput",
"type": "object"
}
},
{
"name": "ip_trusted",
"description": "查看当前 IP 信任名单(谁连过、绑定身份、状态)。",
"inputSchema": {
"properties": {},
"title": "ip_trustedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "ip_trustedOutput",
"type": "object"
}
},
{
"name": "list_tasks",
"description": "\n 列出看板任务(精简:标题级,不含正文)。按需过滤。\n\n Args:\n server: 可选,按标题 [4号][5号][6号] 过滤\n assignee: 可选,只返回该收件人的任务(如 \"codex\" \"grok\" \"default\")\n status: 可选,状态过滤(ready/running/done/blocked/archived)\n ",
"inputSchema": {
"properties": {
"server": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Server"
},
"assignee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Assignee"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Status"
}
},
"title": "list_tasksArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_tasksOutput",
"type": "object"
}
},
{
"name": "digital_cards",
"description": "\n 查询 SKU 数字任务卡(sku_gap_jobs 表:出图 images 195 张 + 详情页 detail_page 26 张)。\n 每个 SKU 一张数字卡,深度跟踪用(后端数据,不显示看板前端)。短号款号(7位缩写)已剔除。\n\n Args:\n stage: 工位过滤(images / detail_page / all,默认 all)\n status: 状态过滤(pending / running / done / blocked / failed)\n sku: 按款号搜索(如 CB7B022)\n limit: 返回条数(默认 50,最大 500)\n ",
"inputSchema": {
"properties": {
"stage": {
"default": "all",
"title": "Stage",
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Status"
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sku"
},
"limit": {
"default": 50,
"title": "Limit",
"type": "integer"
}
},
"title": "digital_cardsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "digital_cardsOutput",
"type": "object"
}
},
{
"name": "get_task",
"description": "\n 获取单个任务详情(核心字段,不含内部字段)。按需展开评论/附件。\n\n Args:\n task_id: 任务ID\n full: 可选,True 时返回完整评论列表(默认只返回评论数/附件数)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"full": {
"default": false,
"title": "Full",
"type": "boolean"
}
},
"required": [
"task_id"
],
"title": "get_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_taskOutput",
"type": "object"
}
},
{
"name": "claim",
"description": "\n 认领一个任务。将 assignee 设为 profile,status 设为 running。\n\n 前置条件:\n - 执行者认证:连接来源 IP 命中已知节点(无缝自动绑定身份)或 token 有效\n - 任务状态必须是 ready\n - 指定任务(assignee 已填)只有本人可领;通用任务(assignee 空)人人可领\n\n Args:\n task_id: 任务ID\n profile: 认领者名称(如 \"4hao\" \"6hao\" \"codex\")\n token: 认领者登录 token(auth_login 获取,30 天有效);连接来源 IP 命中时可不传\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"profile": {
"title": "Profile",
"type": "string"
},
"token": {
"default": "",
"title": "Token",
"type": "string"
}
},
"required": [
"task_id",
"profile"
],
"title": "claimArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "claimOutput",
"type": "object"
}
},
{
"name": "complete",
"description": "\n 完成任务。将 status 设为 done,写入 completed_at,记录 result。\n\n 前置条件:任务状态必须是 running 且 assignee 已设置。\n 完成后自动写入 GDrive:精华文档_EssenceDocs/任务产出/{task_id}.md\n\n Args:\n task_id: 任务ID\n summary: 完成摘要(写入 result 字段和 GDrive 报告)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"summary": {
"title": "Summary",
"type": "string"
}
},
"required": [
"task_id",
"summary"
],
"title": "completeArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "completeOutput",
"type": "object"
}
},
{
"name": "create_task",
"description": "\n 创建任务卡(状态=ready)。\n\n Args:\n title: 任务标题(建议格式:[L级][P级][来源][负责人] 标题)\n body: 任务详情,可为 JSON 字符串(含目标/进度/下一步)\n priority: 优先级 1-3(1最高)\n assignee: 负责人(默认 codex)\n created_by: 创建者(默认 user)\n idempotency_key: 幂等键,避免重复建卡\n ",
"inputSchema": {
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"priority": {
"default": 2,
"title": "Priority",
"type": "integer"
},
"assignee": {
"default": "codex",
"title": "Assignee",
"type": "string"
},
"created_by": {
"default": "user",
"title": "Created By",
"type": "string"
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Idempotency Key"
}
},
"required": [
"title"
],
"title": "create_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "create_taskOutput",
"type": "object"
}
},
{
"name": "update_task",
"description": "\n 更新任务卡(标题/正文/负责人/状态/结果)。\n\n Args:\n task_id: 任务ID\n body: 新任务正文(建议 JSON)\n title: 新标题\n assignee: 新负责人\n status: 新状态(ready/running/done/blocked/unblock)\n result: 执行结果摘要\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"assignee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Assignee"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Status"
},
"result": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Result"
}
},
"required": [
"task_id"
],
"title": "update_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "update_taskOutput",
"type": "object"
}
},
{
"name": "report_blocked",
"description": "\n 报告任务阻塞。将 status 设为 blocked 并追加原因评论。\n\n Args:\n task_id: 任务ID\n reason: 阻塞原因(必须写清楚,供升级/复查使用)\n author: 上报者\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"author": {
"default": "codex",
"title": "Author",
"type": "string"
}
},
"required": [
"task_id",
"reason"
],
"title": "report_blockedArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "report_blockedOutput",
"type": "object"
}
},
{
"name": "comment_task",
"description": "\n 给任务卡追加评论(盖楼)。\n\n Args:\n task_id: 任务ID\n author: 评论作者\n text: 评论内容\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"author": {
"default": "codex",
"title": "Author",
"type": "string"
},
"text": {
"default": "",
"title": "Text",
"type": "string"
}
},
"required": [
"task_id"
],
"title": "comment_taskArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "comment_taskOutput",
"type": "object"
}
},
{
"name": "get_logs",
"description": "\n 查看最近脚本日志(messages 表 logs 频道)。精简字段,token 友好。\n\n Args:\n limit: 返回条数(默认10,最大50)\n channel: 频道(默认 logs,脚本日志汇报)\n ",
"inputSchema": {
"properties": {
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
},
"channel": {
"default": "logs",
"title": "Channel",
"type": "string"
}
},
"title": "get_logsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_logsOutput",
"type": "object"
}
},
{
"name": "log_report",
"description": "\n 投递一条脚本日志到看板(重要任务完成/失败时用)。看板会自动同步到主人飞书。\n\n Args:\n title: 日志标题(必填,如「[同步] 库存同步完成」)\n result: 执行结果摘要\n objective: 做了什么/任务目标\n source: 来源标识(脚本名)\n ",
"inputSchema": {
"properties": {
"title": {
"title": "Title",
"type": "string"
},
"result": {
"default": "",
"title": "Result",
"type": "string"
},
"objective": {
"default": "",
"title": "Objective",
"type": "string"
},
"source": {
"default": "mcp",
"title": "Source",
"type": "string"
}
},
"required": [
"title"
],
"title": "log_reportArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "log_reportOutput",
"type": "object"
}
},
{
"name": "stats",
"description": "\n 看板统计总览:各状态任务数 + 待办清单(ready 卡标题)。token 极低。\n ",
"inputSchema": {
"properties": {},
"title": "statsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "statsOutput",
"type": "object"
}
},
{
"name": "send_message",
"description": "\n 给 Boss 留言 / 提交工作日志与建议(投递到 ant-infra 留言箱,Boss 激活时查看)。\n\n Args:\n sender: 发件人昵称(如 糖糖, 蚁后, 5号Hermes, Codex)\n content: 留言内容(工作日志/进度/建议/Bug 反馈)\n ",
"inputSchema": {
"properties": {
"sender": {
"title": "Sender",
"type": "string"
},
"content": {
"title": "Content",
"type": "string"
}
},
"required": [
"sender",
"content"
],
"title": "send_messageArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "send_messageOutput",
"type": "object"
}
},
{
"name": "get_topology",
"description": "\n 读取系统拓扑(agents/assets/protocols/interfaces/canvases 分类)。\n 查看蚂蚁体系结构、找节点/服务/能力。\n\n Args:\n layer: 分类过滤(agents/assets/protocols/interfaces/canvases,可选)\n keyword: 关键词过滤(匹配节点名/服务/职责,可选)\n ",
"inputSchema": {
"properties": {
"layer": {
"default": "",
"title": "Layer",
"type": "string"
},
"keyword": {
"default": "",
"title": "Keyword",
"type": "string"
}
},
"title": "get_topologyArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_topologyOutput",
"type": "object"
}
},
{
"name": "attach_file",
"description": "\n 给任务卡附加一个产出文件(记录本地路径到附件)。\n\n Args:\n task_id: 任务ID\n filepath: 本地文件绝对路径(存在性会检查)\n ",
"inputSchema": {
"properties": {
"task_id": {
"title": "Task Id",
"type": "string"
},
"filepath": {
"title": "Filepath",
"type": "string"
}
},
"required": [
"task_id",
"filepath"
],
"title": "attach_fileArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "attach_fileOutput",
"type": "object"
}
},
{
"name": "list_tools",
"description": "\n 工具箱入口(极简):只告诉工具包存在 + 数量 + 怎么打开。不展开列表,省 token。\n 需要分类/名称/简介 → get_tool(\"INDEX.md\");需要具体工具 → get_tool(\"文件名\")。\n ",
"inputSchema": {
"properties": {},
"title": "list_toolsArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_toolsOutput",
"type": "object"
}
},
{
"name": "get_tool",
"description": "\n 查看/下载工具箱中的工具文件内容(文本)。可按需只读头部。\n\n Args:\n name: 文件名(如 \"INDEX.md\" \"ring_bell.py\")\n head: 返回前 N 行(默认30行预览;0 或负数=全文)\n ",
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"head": {
"default": 30,
"title": "Head",
"type": "integer"
}
},
"required": [
"name"
],
"title": "get_toolArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "get_toolOutput",
"type": "object"
}
},
{
"name": "put_tool",
"description": "\n 上传/更新工具箱文件(维护工具库)。文本格式,自动备份旧版。\n\n Args:\n name: 文件名(如 \"my_tool.py\",仅 .py/.md/.sh/.json/.yaml/.txt)\n content: 文件完整内容\n overwrite: 已存在时是否覆盖(默认 False 防误覆盖)\n ",
"inputSchema": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"content": {
"title": "Content",
"type": "string"
},
"overwrite": {
"default": false,
"title": "Overwrite",
"type": "boolean"
}
},
"required": [
"name",
"content"
],
"title": "put_toolArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "put_toolOutput",
"type": "object"
}
}
]
}