Skip to content

Invocation

Fields

input

The tool's JSON arguments, as a Lua table (read-write). Assign a new table to rewrite the call, e.g. invocation.input = { command = ... }.

  • Type: any

mode

The active mode's name within that personality.

  • Type: string
  • Access: read-only

name

The tool's name, e.g. bash or read (read-only).

  • Type: string
  • Access: read-only

personality

The active personality's name, so a handler can authorize per personality.

  • Type: string
  • Access: read-only

tool_options

The mode's per-tool options, as a Lua table keyed by tool name.

  • Type: any
  • Access: read-only