Skip to content

BackgroundToolCall

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869446848["prompt.BackgroundToolCall"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869446848
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Work of a tool call that continues without a process of its own, e.g. a watcher.

Source code in src/aclientp/schema/v2/prompt.py
class BackgroundToolCall(AnnotatedObject):
    """Work of a tool call that continues without a process of its own, e.g. a watcher."""

    type: Literal["tool_call"] = Field(default="tool_call", init=False)

    tool_call_id: ToolCallId
    """The listed tool call."""

tool_call_id instance-attribute

tool_call_id: ToolCallId

The listed tool call.

:fa-brands-github: Show source on GitHub