parentToolCallId property

String? parentToolCallId
getter/setter pair

The id of the tool call that caused this one, when it was issued by a sub-agent working on behalf of a parent call.

Empty for top-level calls. Lets a client group a sub-agent's work under the call that started it instead of rendering every step as a sibling.

Output only.

Implementation

core.String? parentToolCallId;