Skip to content

Python: constructor-registered tools missing from agent-hooks agent_startup projection #7560

Description

@MohammadHaroonAbuomar

In the agent-hooks feature, _tool_names reads getattr(agent, "tools", None), but Agent stores constructor-registered tools in default_options["tools"] — so tools passed at construction never surface in the agent_startup record's tools_registered, while run-level tools project correctly. Found during a conformance cross-validation of the merged feature (responsibleai/agent-hooks, conformance/claims/maf/REPORT.md).

Metadata

Metadata

Labels

agentsUsage: [Issues, PRs], Target: Single agentpythonUsage: [Issues, PRs], Target: PythonreproducedUsage: [Issues], Target: all issues that can be reproduced by the triage workflow

Type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions