AgentEventMap
openmolt / AgentEventMap
Type Alias: AgentEventMap
AgentEventMap =
object
Defined in: types/index.ts:393
Union of all agent events for use with agent.on(...).
Properties
commandsQueued
commandsQueued:
object
Defined in: types/index.ts:397
Fired after the commands for a step are parsed but before execution.
commands
commands:
AgentCommand[]
finish
finish:
object
Defined in: types/index.ts:408
Fired when the agent issues a finish command.
result
result:
unknown
llmOutput
llmOutput:
object
Defined in: types/index.ts:395
Fired after every raw LLM response.
output
output:
LLMResponse
planUpdate
planUpdate:
object
Defined in: types/index.ts:406
Fired whenever the agent updates its plan.
plan
plan:
PlanStep[]
tool:call
tool:call:
object
Defined in: types/index.ts:399
Fired just before a tool is executed.
tool
tool:
object
tool.handle
handle:
string
tool.input
input:
Record<string,unknown>
tool.integration
integration:
string
tool:response
tool:response:
object
Defined in: types/index.ts:401
Fired after a tool returns.
response
response:
unknown
tool
tool:
object
tool.handle
handle:
string
tool.input
input:
Record<string,unknown>
tool.integration
integration:
string