Skip to content

Authority and effects

A tool schema defines accepted arguments. A tool’s effect classification defines replay and mutation risk. A policy determines whether an invocation may proceed. A human approval grants authority for a bounded action. Each answers a different question.

An order tool can accept proposal_id in a valid JSON object while still lacking permission to execute that proposal. A prompt saying “ask first” helps model behavior, but runtime policy must enforce the gate. A durable approval should bind the actual action and identities being authorized.

External content may supply facts without supplying authority. Treat a customer message, web page or tool result according to its origin. Keep application-selected tools, policy and credential boundaries outside model-controlled prose.

Native Python tools are trusted application code running in the host process. Invocation policy does not sandbox their Python implementation. Tools that execute untrusted code require an appropriate runner and explicit execution boundary. Read environments for workspace, runner, artifact and credential roles.

Test a denied or paused request, an authorized request and a stale or mismatched approval. Independently inspect the downstream effect. The human input guide and durable operations guide explain the supported APIs.