class documentation

class TemporalToolContext: (source)

View In Hierarchy

Context for tools running within Temporal workflows.

Provides access to tool confirmation and event actions for ADK integration.

Method request_confirmation Requests confirmation for the given function call.
Class Variable event_actions Undocumented
Class Variable function_call_id Undocumented
Class Variable tool_confirmation Undocumented
def request_confirmation(self, *, hint: str | None = None, payload: Any | None = None): (source)

Requests confirmation for the given function call.

Parameters
hint:str | NoneA hint to the user on how to confirm the tool call.
payload:Any | NoneThe payload used to confirm the tool call.
event_actions: EventActions = (source)

Undocumented

function_call_id: str | None = (source)

Undocumented

tool_confirmation: ToolConfirmation | None = (source)

Undocumented