tong_operation_status
请求被接受不代表生成已完成。请跟踪已保存的任务,直到输出就绪。
参数#
operations:readoperation_idstring必填UUID,例如 e8aa0a87-6cd9-42eb-975a-b72bf43218c8。
MCP 调用#
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "tong_operation_status", "arguments": { "operation_id": "e8aa0a87-6cd9-42eb-975a-b72bf43218c8" } }}响应架构#
idstring必填已保存操作的唯一 ID。
UUID,例如 e8aa0a87-6cd9-42eb-975a-b72bf43218c8。
toolstring必填categorystring必填channelstring必填"api""mcp"statestring必填已保存任务当前的执行状态。
"queued""running""waiting""needs_review""paused""reconciling""succeeded""failed""cancelled"statusstring必填跟踪操作时使用的总体状态。
"accepted""running""needs_review""paused""reconciling""succeeded""failed""cancelled"stagestring必填操作当前所处的阶段。
"admission""dispatch""review""generation""reconciliation""complete"dispatch_statusstring必填表示工具是否接受了请求。确认接受并不代表生成已完成。
"pending""unknown""acknowledged"created_atstring必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
updated_atstring必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
detail_expires_atstring | null必填已存储操作详情的到期时间。null 表示当前未设置到期时间。
ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
detail_expiredboolean必填已存储的操作详情是否已到期。
timingobject必填用于跟踪此操作的时间戳和耗时。
显示嵌套字段
dispatch_started_atstring | null必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
acknowledged_atstring | null必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
completed_atstring | null必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
dispatch_acknowledgement_msnumber | null必填最小值:0。
end_to_end_msnumber | null必填最小值:0。
reviewJSON | null必填操作需要人工输入时的审核信息;否则为 null。
resultJSON | null必填此工具返回的输出,尚无输出时为 null。
errorobject | null必填操作失败时的公开错误代码;否则为 null。
显示嵌套字段
codestring必填billingobject必填客户积分用量和钱包扣费。输出就绪与账单结算是独立状态。
显示嵌套字段
statusstring必填"none""pending""settled""released""reconciling"usage_creditsstring必填保留六位小数的十进制字符串,例如 1.250000。
wallet_debited_creditsstring必填保留六位小数的十进制字符串,例如 1.250000。
released_creditsstring可选保留六位小数的十进制字符串,例如 1.250000。
refunded_creditsstring可选保留六位小数的十进制字符串,例如 1.250000。
unfunded_creditsstring可选保留六位小数的十进制字符串,例如 1.250000。
pending_creditsstring可选保留六位小数的十进制字符串,例如 1.250000。
tokensobject可选显示嵌套字段
inputnumber可选最小值:0。
outputnumber可选最小值:0。
cachednumber可选最小值:0。
cache_writenumber可选最小值:0。
componentsobject[]可选显示嵌套字段
idstring可选source_idstring必填toolstring必填modelstring | null必填channelstring必填"api""mcp"credential_idstring必填kindstring必填"text_pool""reasoning""generation"usage_creditsstring必填保留六位小数的十进制字符串,例如 1.250000。
wallet_debited_creditsstring必填保留六位小数的十进制字符串,例如 1.250000。
evidence_atstring可选ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
updated_atstring可选ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。
quoteobject可选报价可用时返回的配置、价格和提交值。
显示嵌套字段
idstring必填UUID,例如 e8aa0a87-6cd9-42eb-975a-b72bf43218c8。
operation_idstring必填UUID,例如 e8aa0a87-6cd9-42eb-975a-b72bf43218c8。
toolstring必填operationstring | null必填modelstring | null必填configurationobject必填submit_valuestring必填submit_fieldstring必填quoted_creditsstring | null必填保留六位小数的十进制字符串,例如 1.250000。
expires_atstring | null必填ISO 8601 日期和时间,例如 2026-10-22T09:00:00Z。