Skip to content

tool_call

Class info

Classes

Name Children Inherits
AllowedOutcome
aclientp.schema.tool_call
The user selected one of the provided options.
    ContentToolCallContent
    aclientp.schema.tool_call
    Standard content block (text, images, resources).
      DeniedOutcome
      aclientp.schema.tool_call
      The prompt turn was cancelled before the user responded.
        FileEditToolCallContent
        aclientp.schema.tool_call
        File modification shown as a diff.
          PermissionOption
          aclientp.schema.tool_call
          An option presented to the user when requesting permission.
            SessionReferenceToolCallContent
            aclientp.schema.tool_call
            **UNSTABLE**: Reference to another session, e.g. a subagent spawned by this tool call.
              TerminalToolCallContent
              aclientp.schema.tool_call
              Embed a terminal created with `terminal/create` by its id.
                ToolCallLocation
                aclientp.schema.tool_call
                A file location being accessed or modified by a tool.
                  ToolCallUpdate
                  aclientp.schema.tool_call
                  Details about the tool call requiring permission.

                    🛈 DocStrings

                    Tool call schema definitions.

                    RequestPermissionOutcome module-attribute

                    RequestPermissionOutcome = DeniedOutcome | AllowedOutcome
                    

                    The user's decision on a permission request: cancelled, or an option selected.

                    AllowedOutcome

                    Bases: AnnotatedObject

                    The user selected one of the provided options.

                    Source code in src/aclientp/schema/tool_call.py
                    class AllowedOutcome(AnnotatedObject):
                        """The user selected one of the provided options."""
                    
                        option_id: str
                        """The ID of the option the user selected."""
                    
                        outcome: Literal["selected"] = Field(default="selected", init=False)
                    

                    option_id instance-attribute

                    option_id: str
                    

                    The ID of the option the user selected.

                    ContentToolCallContent

                    Bases: AnnotatedObject

                    Standard content block (text, images, resources).

                    Source code in src/aclientp/schema/tool_call.py
                    class ContentToolCallContent(AnnotatedObject):
                        """Standard content block (text, images, resources)."""
                    
                        type: Literal["content"] = Field(default="content", init=False)
                        """Standard content block (text, images, resources)."""
                    
                        content: ContentBlock
                        """The actual content block."""
                    
                        @classmethod
                        def text(
                            cls,
                            text: str,
                            *,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing text.
                    
                            Args:
                                text: The text content.
                                audience: The audience for the text.
                                last_modified: The last modified date of the text.
                                priority: The priority of the text.
                            """
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            return cls(content=TextContentBlock(text=text, annotations=annotations))
                    
                        @classmethod
                        def image(
                            cls,
                            data: str | bytes,
                            mime_type: str,
                            uri: str | None = None,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing an embedded image resource.
                    
                            Args:
                                data: The image data.
                                mime_type: The MIME type of the image.
                                uri: The URI of the image.
                                audience: The audience for the image.
                                last_modified: The last modified date of the image.
                                priority: The priority of the image.
                            """
                            if isinstance(data, bytes):
                                data = base64.b64encode(data).decode()
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            image = ImageContentBlock(data=data, mime_type=mime_type, uri=uri, annotations=annotations)
                            return cls(content=image)
                    
                        @classmethod
                        def audio(
                            cls,
                            data: str | bytes,
                            mime_type: str,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing audio content.
                    
                            Args:
                                data: The audio data.
                                mime_type: The MIME type of the audio data.
                                audience: The audience for the audio chunk.
                                last_modified: The last modified date of the audio chunk.
                                priority: The priority of the audio chunk.
                            """
                            if isinstance(data, bytes):
                                data = base64.b64encode(data).decode()
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            content = AudioContentBlock(data=data, mime_type=mime_type, annotations=annotations)
                            return cls(content=content)
                    
                        @classmethod
                        def resource(
                            cls,
                            name: str,
                            uri: str,
                            description: str | None = None,
                            mime_type: str | None = None,
                            size: int | None = None,
                            title: str | None = None,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing a resource content block.
                    
                            Args:
                                name: The name of the resource.
                                uri: The URI of the resource.
                                description: The description of the resource.
                                mime_type: The MIME type of the resource.
                                size: The size of the resource.
                                title: The title of the resource.
                                audience: The audience of the resource.
                                last_modified: The last modified date of the resource.
                                priority: The priority of the resource.
                            """
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            block = ResourceContentBlock(
                                name=name,
                                uri=uri,
                                description=description,
                                mime_type=mime_type,
                                size=size,
                                title=title,
                                annotations=annotations,
                            )
                            return cls(content=block)
                    
                        @classmethod
                        def embedded_text_resource(
                            cls,
                            text: str,
                            uri: str,
                            mime_type: str | None = None,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing an embedded text resource.
                    
                            Args:
                                text: The text to embed.
                                uri: The URI of the resource.
                                mime_type: The MIME type of the resource.
                                audience: The audience to apply to the resource.
                                last_modified: The last modified date of the resource.
                                priority: The priority of the resource.
                            """
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            contents = TextResourceContents(text=text, mime_type=mime_type, uri=uri)
                            content = EmbeddedResourceContentBlock(annotations=annotations, resource=contents)
                            return cls(content=content)
                    
                        @classmethod
                        def embedded_blob_resource(
                            cls,
                            data: bytes | str,
                            uri: str,
                            mime_type: str | None = None,
                            audience: Audience | None = None,
                            last_modified: datetime | str | None = None,
                            priority: float | None = None,
                        ) -> Self:
                            """Create a ToolCallContent containing an embedded blob resource.
                    
                            Args:
                                data: The data to embed.
                                uri: The URI of the resource.
                                mime_type: The MIME type of the resource.
                                audience: The audience to apply to the resource.
                                last_modified: The last modified date of the resource.
                                priority: The priority of the resource.
                            """
                            if isinstance(data, bytes):
                                data = base64.b64encode(data).decode()
                            annotations = Annotations.optionally_create(
                                audience=audience,
                                last_modified=last_modified,
                                priority=priority,
                            )
                            resource = BlobResourceContents(blob=data, mime_type=mime_type, uri=uri)
                            content = EmbeddedResourceContentBlock(annotations=annotations, resource=resource)
                            return cls(content=content)
                    

                    content instance-attribute

                    content: ContentBlock
                    

                    The actual content block.

                    type class-attribute instance-attribute

                    type: Literal['content'] = Field(default='content', init=False)
                    

                    Standard content block (text, images, resources).

                    audio classmethod

                    audio(
                        data: str | bytes,
                        mime_type: str,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing audio content.

                    Parameters:

                    Name Type Description Default
                    data str | bytes

                    The audio data.

                    required
                    mime_type str

                    The MIME type of the audio data.

                    required
                    audience Audience | None

                    The audience for the audio chunk.

                    None
                    last_modified datetime | str | None

                    The last modified date of the audio chunk.

                    None
                    priority float | None

                    The priority of the audio chunk.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def audio(
                        cls,
                        data: str | bytes,
                        mime_type: str,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing audio content.
                    
                        Args:
                            data: The audio data.
                            mime_type: The MIME type of the audio data.
                            audience: The audience for the audio chunk.
                            last_modified: The last modified date of the audio chunk.
                            priority: The priority of the audio chunk.
                        """
                        if isinstance(data, bytes):
                            data = base64.b64encode(data).decode()
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        content = AudioContentBlock(data=data, mime_type=mime_type, annotations=annotations)
                        return cls(content=content)
                    

                    embedded_blob_resource classmethod

                    embedded_blob_resource(
                        data: bytes | str,
                        uri: str,
                        mime_type: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing an embedded blob resource.

                    Parameters:

                    Name Type Description Default
                    data bytes | str

                    The data to embed.

                    required
                    uri str

                    The URI of the resource.

                    required
                    mime_type str | None

                    The MIME type of the resource.

                    None
                    audience Audience | None

                    The audience to apply to the resource.

                    None
                    last_modified datetime | str | None

                    The last modified date of the resource.

                    None
                    priority float | None

                    The priority of the resource.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def embedded_blob_resource(
                        cls,
                        data: bytes | str,
                        uri: str,
                        mime_type: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing an embedded blob resource.
                    
                        Args:
                            data: The data to embed.
                            uri: The URI of the resource.
                            mime_type: The MIME type of the resource.
                            audience: The audience to apply to the resource.
                            last_modified: The last modified date of the resource.
                            priority: The priority of the resource.
                        """
                        if isinstance(data, bytes):
                            data = base64.b64encode(data).decode()
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        resource = BlobResourceContents(blob=data, mime_type=mime_type, uri=uri)
                        content = EmbeddedResourceContentBlock(annotations=annotations, resource=resource)
                        return cls(content=content)
                    

                    embedded_text_resource classmethod

                    embedded_text_resource(
                        text: str,
                        uri: str,
                        mime_type: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing an embedded text resource.

                    Parameters:

                    Name Type Description Default
                    text str

                    The text to embed.

                    required
                    uri str

                    The URI of the resource.

                    required
                    mime_type str | None

                    The MIME type of the resource.

                    None
                    audience Audience | None

                    The audience to apply to the resource.

                    None
                    last_modified datetime | str | None

                    The last modified date of the resource.

                    None
                    priority float | None

                    The priority of the resource.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def embedded_text_resource(
                        cls,
                        text: str,
                        uri: str,
                        mime_type: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing an embedded text resource.
                    
                        Args:
                            text: The text to embed.
                            uri: The URI of the resource.
                            mime_type: The MIME type of the resource.
                            audience: The audience to apply to the resource.
                            last_modified: The last modified date of the resource.
                            priority: The priority of the resource.
                        """
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        contents = TextResourceContents(text=text, mime_type=mime_type, uri=uri)
                        content = EmbeddedResourceContentBlock(annotations=annotations, resource=contents)
                        return cls(content=content)
                    

                    image classmethod

                    image(
                        data: str | bytes,
                        mime_type: str,
                        uri: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing an embedded image resource.

                    Parameters:

                    Name Type Description Default
                    data str | bytes

                    The image data.

                    required
                    mime_type str

                    The MIME type of the image.

                    required
                    uri str | None

                    The URI of the image.

                    None
                    audience Audience | None

                    The audience for the image.

                    None
                    last_modified datetime | str | None

                    The last modified date of the image.

                    None
                    priority float | None

                    The priority of the image.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def image(
                        cls,
                        data: str | bytes,
                        mime_type: str,
                        uri: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing an embedded image resource.
                    
                        Args:
                            data: The image data.
                            mime_type: The MIME type of the image.
                            uri: The URI of the image.
                            audience: The audience for the image.
                            last_modified: The last modified date of the image.
                            priority: The priority of the image.
                        """
                        if isinstance(data, bytes):
                            data = base64.b64encode(data).decode()
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        image = ImageContentBlock(data=data, mime_type=mime_type, uri=uri, annotations=annotations)
                        return cls(content=image)
                    

                    resource classmethod

                    resource(
                        name: str,
                        uri: str,
                        description: str | None = None,
                        mime_type: str | None = None,
                        size: int | None = None,
                        title: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing a resource content block.

                    Parameters:

                    Name Type Description Default
                    name str

                    The name of the resource.

                    required
                    uri str

                    The URI of the resource.

                    required
                    description str | None

                    The description of the resource.

                    None
                    mime_type str | None

                    The MIME type of the resource.

                    None
                    size int | None

                    The size of the resource.

                    None
                    title str | None

                    The title of the resource.

                    None
                    audience Audience | None

                    The audience of the resource.

                    None
                    last_modified datetime | str | None

                    The last modified date of the resource.

                    None
                    priority float | None

                    The priority of the resource.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def resource(
                        cls,
                        name: str,
                        uri: str,
                        description: str | None = None,
                        mime_type: str | None = None,
                        size: int | None = None,
                        title: str | None = None,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing a resource content block.
                    
                        Args:
                            name: The name of the resource.
                            uri: The URI of the resource.
                            description: The description of the resource.
                            mime_type: The MIME type of the resource.
                            size: The size of the resource.
                            title: The title of the resource.
                            audience: The audience of the resource.
                            last_modified: The last modified date of the resource.
                            priority: The priority of the resource.
                        """
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        block = ResourceContentBlock(
                            name=name,
                            uri=uri,
                            description=description,
                            mime_type=mime_type,
                            size=size,
                            title=title,
                            annotations=annotations,
                        )
                        return cls(content=block)
                    

                    text classmethod

                    text(
                        text: str,
                        *,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self
                    

                    Create a ToolCallContent containing text.

                    Parameters:

                    Name Type Description Default
                    text str

                    The text content.

                    required
                    audience Audience | None

                    The audience for the text.

                    None
                    last_modified datetime | str | None

                    The last modified date of the text.

                    None
                    priority float | None

                    The priority of the text.

                    None
                    Source code in src/aclientp/schema/tool_call.py
                    @classmethod
                    def text(
                        cls,
                        text: str,
                        *,
                        audience: Audience | None = None,
                        last_modified: datetime | str | None = None,
                        priority: float | None = None,
                    ) -> Self:
                        """Create a ToolCallContent containing text.
                    
                        Args:
                            text: The text content.
                            audience: The audience for the text.
                            last_modified: The last modified date of the text.
                            priority: The priority of the text.
                        """
                        annotations = Annotations.optionally_create(
                            audience=audience,
                            last_modified=last_modified,
                            priority=priority,
                        )
                        return cls(content=TextContentBlock(text=text, annotations=annotations))
                    

                    DeniedOutcome

                    Bases: Schema

                    The prompt turn was cancelled before the user responded.

                    When a client sends a session/cancel notification to cancel an ongoing prompt turn, it MUST respond to all pending session/request_permission requests with this Cancelled outcome. See protocol docs: Cancellation

                    Source code in src/aclientp/schema/tool_call.py
                    class DeniedOutcome(Schema):
                        """The prompt turn was cancelled before the user responded.
                    
                        When a client sends a `session/cancel` notification to cancel an ongoing
                        prompt turn, it MUST respond to all pending `session/request_permission`
                        requests with this `Cancelled` outcome.
                        See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)
                        """
                    
                        outcome: Literal["cancelled"] = Field(default="cancelled", init=False)
                    

                    FileEditToolCallContent

                    Bases: AnnotatedObject

                    File modification shown as a diff.

                    Source code in src/aclientp/schema/tool_call.py
                    class FileEditToolCallContent(AnnotatedObject):
                        """File modification shown as a diff."""
                    
                        type: Literal["diff"] = Field(default="diff", init=False)
                        """File modification shown as a diff."""
                    
                        new_text: str
                        """The new content after modification."""
                    
                        old_text: str | None = None
                        """The original content (None for new files)."""
                    
                        path: str
                        """The file path being modified."""
                    

                    new_text instance-attribute

                    new_text: str
                    

                    The new content after modification.

                    old_text class-attribute instance-attribute

                    old_text: str | None = None
                    

                    The original content (None for new files).

                    path instance-attribute

                    path: str
                    

                    The file path being modified.

                    type class-attribute instance-attribute

                    type: Literal['diff'] = Field(default='diff', init=False)
                    

                    File modification shown as a diff.

                    PermissionOption

                    Bases: AnnotatedObject

                    An option presented to the user when requesting permission.

                    Source code in src/aclientp/schema/tool_call.py
                    class PermissionOption(AnnotatedObject):
                        """An option presented to the user when requesting permission."""
                    
                        kind: PermissionKind
                        """Hint about the nature of this permission option."""
                    
                        name: str
                        """Human-readable label to display to the user."""
                    
                        option_id: str
                        """Unique identifier for this permission option."""
                    

                    kind instance-attribute

                    kind: PermissionKind
                    

                    Hint about the nature of this permission option.

                    name instance-attribute

                    name: str
                    

                    Human-readable label to display to the user.

                    option_id instance-attribute

                    option_id: str
                    

                    Unique identifier for this permission option.

                    SessionReferenceToolCallContent

                    Bases: AnnotatedObject

                    UNSTABLE: Reference to another session, e.g. a subagent spawned by this tool call.

                    Source code in src/aclientp/schema/tool_call.py
                    class SessionReferenceToolCallContent(AnnotatedObject):
                        """**UNSTABLE**: Reference to another session, e.g. a subagent spawned by this tool call."""
                    
                        type: Literal["session"] = Field(default="session", init=False)
                        """Session reference tool call content."""
                    
                        session_id: str
                        """The referenced session."""
                    

                    session_id instance-attribute

                    session_id: str
                    

                    The referenced session.

                    type class-attribute instance-attribute

                    type: Literal['session'] = Field(default='session', init=False)
                    

                    Session reference tool call content.

                    TerminalToolCallContent

                    Bases: AnnotatedObject

                    Embed a terminal created with terminal/create by its id.

                    The terminal must be added before calling terminal/release. See protocol docs: Terminal

                    Source code in src/aclientp/schema/tool_call.py
                    class TerminalToolCallContent(AnnotatedObject):
                        """Embed a terminal created with `terminal/create` by its id.
                    
                        The terminal must be added before calling `terminal/release`.
                        See protocol docs: [Terminal](https://agentclientprotocol.com/protocol/terminal)
                        """
                    
                        type: Literal["terminal"] = Field(default="terminal", init=False)
                        """Terminal tool call content."""
                    
                        terminal_id: str
                        """The ID of the terminal being embedded."""
                    

                    terminal_id instance-attribute

                    terminal_id: str
                    

                    The ID of the terminal being embedded.

                    type class-attribute instance-attribute

                    type: Literal['terminal'] = Field(default='terminal', init=False)
                    

                    Terminal tool call content.

                    ToolCallLocation

                    Bases: AnnotatedObject

                    A file location being accessed or modified by a tool.

                    Enables clients to implement "follow-along" features that track which files the agent is working with in real-time. See protocol docs: Following the Agent

                    Source code in src/aclientp/schema/tool_call.py
                    class ToolCallLocation(AnnotatedObject):
                        """A file location being accessed or modified by a tool.
                    
                        Enables clients to implement "follow-along" features that track
                        which files the agent is working with in real-time.
                        See protocol docs: [Following the Agent](https://agentclientprotocol.com/protocol/tool-calls#following-the-agent)
                        """
                    
                        line: int | None = Field(default=0, ge=0)
                        """Optional 1-based line number within the file.
                    
                        Defaults to 0 (unspecified) rather than None: some clients only render
                        clickable paths when the field is present.
                        """
                    
                        path: str
                        """The absolute file path being accessed or modified."""
                    

                    line class-attribute instance-attribute

                    line: int | None = Field(default=0, ge=0)
                    

                    Optional 1-based line number within the file.

                    Defaults to 0 (unspecified) rather than None: some clients only render clickable paths when the field is present.

                    path instance-attribute

                    path: str
                    

                    The absolute file path being accessed or modified.

                    ToolCallUpdate

                    Bases: AnnotatedObject

                    Details about the tool call requiring permission.

                    Source code in src/aclientp/schema/tool_call.py
                    class ToolCallUpdate(AnnotatedObject):
                        """Details about the tool call requiring permission."""
                    
                        content: Sequence[ToolCallContent] | None = None
                        """Replace the content collection."""
                    
                        kind: ToolCallKind | None = None
                        """Update the tool kind."""
                    
                        locations: Sequence[ToolCallLocation] | None = None
                        """Replace the locations collection."""
                    
                        raw_input: Any | None = None
                        """Update the raw input."""
                    
                        raw_output: Any | None = None
                        """Update the raw output."""
                    
                        status: ToolCallStatus | None = None
                        """Update the execution status."""
                    
                        title: str | None = None
                        """Update the human-readable title."""
                    
                        name: str | None = None
                        """Programmatic name of the tool being invoked."""
                    
                        tool_call_id: str
                        """The ID of the tool call being updated."""
                    

                    content class-attribute instance-attribute

                    content: Sequence[ToolCallContent] | None = None
                    

                    Replace the content collection.

                    kind class-attribute instance-attribute

                    kind: ToolCallKind | None = None
                    

                    Update the tool kind.

                    locations class-attribute instance-attribute

                    locations: Sequence[ToolCallLocation] | None = None
                    

                    Replace the locations collection.

                    name class-attribute instance-attribute

                    name: str | None = None
                    

                    Programmatic name of the tool being invoked.

                    raw_input class-attribute instance-attribute

                    raw_input: Any | None = None
                    

                    Update the raw input.

                    raw_output class-attribute instance-attribute

                    raw_output: Any | None = None
                    

                    Update the raw output.

                    status class-attribute instance-attribute

                    status: ToolCallStatus | None = None
                    

                    Update the execution status.

                    title class-attribute instance-attribute

                    title: str | None = None
                    

                    Update the human-readable title.

                    tool_call_id instance-attribute

                    tool_call_id: str
                    

                    The ID of the tool call being updated.