docs(hooks): clarify BeforeToolCallEvent args non-nil contract
This commit is contained in:
parent
658fb0376f
commit
c9ca0835ae
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ type MessageSendingEvent struct {
|
|||
// Handlers can modify Args, or set Cancel to block execution.
|
||||
type BeforeToolCallEvent struct {
|
||||
ToolName string
|
||||
Args map[string]any // Modifiable
|
||||
Args map[string]any // Modifiable; guaranteed non-nil when triggered via AgentLoop.
|
||||
Channel string
|
||||
ChatID string
|
||||
Cancel bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue