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

Assignees

No one assigned

    Labels

    pythonUsage: [Issues, PRs], Target: PythontriageUsage: [Issues], Target: All issues that still need to be triaged

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions