Skip to content

docs: add #1792 tool guardrails to the guardrails document page #1830

Closed

Description

@AbdulSamad94

Please read this first

  • Have you read the docs?Agents SDK docs yes
  • Have you searched for related issues? yes

Question

Tool input/output guardrails (PR #1792) are implemented but not documented in the main guides.

Gaps

  • No mention in docs/guardrails.md
  • No user guide for implementing input/output guardrails
  • Only a minimal API ref at docs/ref/tool_guardrails.md

Current

  • Code: src/agents/tool_guardrails.py
  • Example: examples/basic/tool_guardrails.py
  • API ref: docs/ref/tool_guardrails.md

Expected

Main docs should explain:

  • What tool guardrails are vs. agent-level guardrails
  • How to add input & output guardrails
  • When/why to use them
  • Complete examples & use cases

Activity

  1. added
    documentation
    on Sep 30, 2025
  2. changed the title [-]Docs: Add main documentation for Tool Input/Output Guardrails[/-] [+]docs: add #1792 tool guardrails to the guardrails document page[/+] on Sep 30, 2025
  3. seratch commented on Sep 30, 2025

    @seratch
    Member

    Thanks for pointing this out. The tool guardrail feature is not yet released, so we can prepare the document updates and merge the changes once it's released.

  4. added a commit that references this issue on Dec 20, 2025
    d535802
  5. added this to the 0.7.x milestone on Dec 22, 2025
  6. seratch commented on Jan 17, 2026

    @seratch
    Member

    resolved by #2307

  7. removed this from the 0.7.x milestone on Jan 17, 2026
  8. added a commit that references this issue on Mar 2, 2026
    0d4e270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions