Skip to content

docs: clarify tool-agent input context#3145

Closed
adityasingh2400 wants to merge 1 commit intoopenai:mainfrom
adityasingh2400:docs/agent-tool-context-858
Closed

docs: clarify tool-agent input context#3145
adityasingh2400 wants to merge 1 commit intoopenai:mainfrom
adityasingh2400:docs/agent-tool-context-858

Conversation

@adityasingh2400
Copy link
Copy Markdown
Contributor

Summary

  • Clarify that Agent.as_tool() nested runs receive the tool-call input, not the outer agent transcript automatically.
  • Point users who need richer specialist context to explicit tool arguments, input_builder, or direct Runner.run inside a custom function tool.

Test plan

  • uv run mkdocs build
  • git diff --check

Related to #858.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 6, 2026
@seratch
Copy link
Copy Markdown
Member

seratch commented May 6, 2026

Thanks for the suggestion. However, adding this sentence there is not relevant and it is actually incorrect.

@seratch seratch closed this May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants