MCPcopy Create free account
hub / github.com/AI45Lab/Code / delegate_task

Method delegate_task

sdk/node/src/lib.rs:3679–3681  ·  view source on GitHub ↗
(&self, options: DelegateTaskOptions)

Source from the content-addressed store, hash-verified

3677 /// Delegate a bounded task to a child agent through the built-in `task` tool.
3678 #[napi(ts_args_type = "options: DelegateTaskOptions")]
3679 pub async fn delegate_task(&self, options: DelegateTaskOptions) -> napi::Result<ToolResult> {
3680 self.task(options).await
3681 }
3682
3683 /// Execute several delegated child-agent tasks concurrently through `parallel_task`.
3684 #[napi(ts_args_type = "tasks: DelegateTaskOptions[]")]

Callers

nothing calls this directly

Calls 1

taskMethod · 0.45

Tested by

no test coverage detected