Skip to content

ToolCallUpdate

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970859767136["tool_call.ToolCallUpdate"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970859767136
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

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.

:fa-brands-github: Show source on GitHub