Telemetry
AI agent security

agent_tool_authorization_decided event schema

A policy decision recorded before a consequential agent tool call. It captures bounded tool, risk, decision, and policy fields while excluding prompts, arguments, results, credentials, and customer content.

Reviewed by the Telemetry product team on . Event grain, ownership, field types, privacy classification, example payload, and validation. Review standards and ownership

Question this contract answers

Which agent tool actions are allowed, denied, or routed to human approval?

Fields
12
Required
12
Contract evidence path

agent_tool_authorization_decided: from owned boundary to trusted query

Treat agent_tool_authorization_decided as a durable analytical contract: the owner emits one documented grain, a fixture proves the fields, and a reviewed query answers the stated question.

  1. 1

    Outcome becomes final

    Agent authorization or policy-enforcement layer emits only after policy evaluation is final and before the tool is allowed to execute.

  2. 2

    Contract is bounded

    12 required fields preserve the declared grain: One final authorization decision per logical tool-call attempt.

  3. 3

    Fixture is verified

    Check types, UTC time, alternate outcomes, idempotency, and every pseudonymous or review-classified field.

  4. 4

    Question is answered

    Which agent tool actions are allowed, denied, or routed to human approval?

Grain

One final authorization decision per logical tool-call attempt.

Owner

Agent authorization or policy-enforcement layer

Emit when

After policy evaluation is final and before the tool is allowed to execute.

Field contract

Typed fields with explicit privacy boundaries

Keep existing field names and types stable after production queries depend on them. Optional context should remain bounded, documented, and justified by a specific decision.

FieldTypeRequiredPrivacyMeaning
timestamp_utctimestampyesnon-sensitiveUTC time at the outcome boundary.
event_idstringyesnon-sensitiveStable unique identifier used for deduplication.
releasestringyesnon-sensitiveApplication or service version that emitted the event.
account_idstringyespseudonymousStable internal account identifier, never an email or name.
run_idstringyespseudonymousStable agent-run identifier shared with approved outcome events.
tool_call_idstringyespseudonymousStable identifier for the logical tool-call attempt; never embed arguments.
workflowstringyesnon-sensitiveVersioned, low-cardinality agent workflow.
tool_namestringyesnon-sensitiveApproved low-cardinality tool identifier.
risk_levelstringyesnon-sensitiveReviewed risk class such as low, medium, or high.
decisionstringyesnon-sensitiveAllowed, denied, or approval_required.
reason_codestringyesnon-sensitiveControlled policy reason; never a free-form model explanation.
policy_versionstringyesnon-sensitiveVersion of the policy contract that made the decision.

Synthetic JSON event

{
  "timestamp_utc": "2026-07-30T16:24:12Z",
  "event_id": "evt_agent_authz_01",
  "account_id": "acct_8f31",
  "release": "2026.07.4",
  "run_id": "run_f28c",
  "tool_call_id": "tool_call_a913",
  "workflow": "support_resolution_v3",
  "tool_name": "database_write",
  "risk_level": "high",
  "decision": "approval_required",
  "reason_code": "external_state_change",
  "policy_version": "agent-policy-12"
}

Privacy review

Review identifiers before ingestion

This example uses synthetic identifiers. Pseudonymous values can still be personal data, and review fields can expose business or provider context. Apply your own consent, retention, access, residency, and deletion requirements.

  • account_id: pseudonymous
  • run_id: pseudonymous
  • tool_call_id: pseudonymous

Validation checklist

Prove the contract before building a dashboard

  • Send one known agent_tool_authorization_decided fixture after the documented outcome boundary.
  • Verify all 12 required fields arrive with the documented types.
  • Retry the same event identifier and confirm the chosen deduplication behavior.
  • Send a controlled failure or alternate outcome when the workflow supports one.
  • Run the related SQL over a fixed window and reconcile the result to the fixture.

Common mistakes

Keep one row equal to one durable outcome

  • Emitting agent_tool_authorization_decided before agent authorization or policy-enforcement layer knows the final outcome.
  • Mixing several grains in one table, which makes counts and rates ambiguous.
  • Replacing controlled categories with raw URLs, payloads, prompts, or error text.
  • Changing a field type in place after saved queries and dashboards depend on it.
  • Adding identifiers without a documented investigation, access, and retention need.

Use the contract

Query and operationalize the event

Related contracts

Send a fixture before production traffic

Create a free API key, send the synthetic event, and inspect the inferred table before connecting a live workflow.

Test this schema