MCPcopy Index your code
hub / github.com/AI45Lab/Code / subagent_task

Method subagent_task

core/src/agent_api.rs:843–848  ·  view source on GitHub ↗

Look up a delegated subagent task by id. Returns `None` if no such task has been observed in this session.

(
        &self,
        task_id: &str,
    )

Source from the content-addressed store, hash-verified

841 /// Look up a delegated subagent task by id. Returns `None` if no such task
842 /// has been observed in this session.
843 pub async fn subagent_task(
844 &self,
845 task_id: &str,
846 ) -> Option<crate::subagent_task_tracker::SubagentTaskSnapshot> {
847 self.subagent_tasks.get(task_id).await
848 }
849
850 /// Return snapshots of every delegated subagent task observed in this
851 /// session (including completed and failed ones), oldest first.

Calls 1

getMethod · 0.45