get_current_state.md 694 B


name: get_current_state

description: 获取当前推导状态,包含轮次、活跃路径、待扩展点

获取当前推导状态

你可以通过 get_current_state 工具查看推导任务的当前状态。

输入参数

  • derivation_id: 推导任务 ID

示例:

{
  "derivation_id": "uuid"
}

返回结果

返回当前状态信息:

{
  "loop": 1,
  "active_paths": [...],
  "edges_to_expand": [...],
  "max_rounds": 4,
  "top_k_paths": 5,
  "can_continue": true
}

使用场景

  • 查看当前轮次进度
  • 获取活跃路径列表
  • 查看待扩展的末端点
  • 判断是否可以继续游走
  • 在每轮游走前了解当前状态