From f033a6365fc9d4d7272a73b0a645fec0774386a8 Mon Sep 17 00:00:00 2001 From: aaronormerod <137795541+aaronormerod@users.noreply.github.com> Date: Sun, 11 Oct 2026 21:16:43 +0100 Subject: [PATCH] Match toolCallRequest summary to schema Closes #197 Signed-off-by: aaronormerod <137795541+aaronormerod@users.noreply.github.com> --- docs/spec/instrument/hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/instrument/hooks.md b/docs/spec/instrument/hooks.md index 9187081f..0670f670 100644 --- a/docs/spec/instrument/hooks.md +++ b/docs/spec/instrument/hooks.md @@ -189,7 +189,7 @@ Fires after the framework has parsed a tool call from the LLM's output, but befo Frameworks MUST fire `toolCallRequest` for every action that escapes the agent's reasoning context, regardless of whether the framework's tool registry models it as a tool. This includes built-in operations such as filesystem reads/writes, network fetches, process execution, and shell commands. The Guardian relies on a complete view of all outward actions; primitives that bypass `toolCallRequest` are invisible to policy. -**Payload:** `tool` (id, capability), `arguments` (each value carrying optional Provenance), agent reasoning. +**Payload:** `tool` (`name` required; `version`, `provider`), `arguments` (a map of objects, each with a required `value` and optional Provenance), and optionally `capability`, `operation`, `raw_command`, and `intent` (`description`, `goal`). **Decision:** ALLOW / DENY / MODIFY / ASK / DEFER. The full disposition vocabulary applies — this is the hook where most paradigm composition happens.