> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-sandboxes-integrations-placement.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# startSubagent

> TypeScript SDK リファレンス

<div id="startsubagent">
  # startSubagent
</div>

▸ **startSubagent**(`opts`): [`SubAgent`](../classes/subagent)

SubAgent の span を開始します。親の解決ルールは `startTool` と同じです。

<div id="parameters">
  #### パラメーター
</div>

| 名      | タイプ                                          |
| :----- | :------------------------------------------- |
| `opts` | [`SubAgentInit`](../interfaces/subagentinit) |

<div id="returns">
  #### 戻り値
</div>

[`SubAgent`](../classes/subagent)

<div id="defined-in">
  #### 定義元
</div>

[genai/api.ts:66](https://github.com/wandb/weave/blob/6538626556c93d6f31ae725fdefe4e6b8b71bc2c/sdks/node/src/genai/api.ts#L66)

***
