Skip to main content

Module interaction

Module interaction 

Source
Expand description

Portable caller interactions requested during execution. Caller input requested by a suspended tool invocation.

Declare capabilities before execution. Preserve the pending request id in ToolInteractionResponse; text replies are strings and form replies are objects.

Structs§

ToolInteractionCapabilities
Interaction behavior declared by one tool.
ToolInteractionId
Opaque interaction id. Keep the returned identity unchanged when constructing the response. Its spelling is opaque; do not derive invocation or tool identity from it.
ToolInteractionRequest
Source-neutral interaction request produced by a tool handler.

Enums§

ToolInteractionKind
Source-neutral interaction request kind.
ToolInteractionResponse
Caller response to a pending tool interaction.