$ the-wire · showcase
Agent governance toolkit now passes OpenAI Agents tool arguments to policy
By RepoJournal · Filed · About Agent Security · Composed from the cited sources · methodology
If you run microsoft/agent-governance-toolkit on top of the OpenAI Agents SDK, your pre_tool_call and post_tool_call hooks can finally see the arguments the model actually supplied.
fix(agent-os): pass OpenAI Agents tool arguments to policy microsoft/agent-governance-toolkit
GovernanceRunHooks, the hook set returned by OpenAIAgentsKernel.as_hooks(), used to read tool arguments from tool.args, which an SDK FunctionTool does not have, and supplied empty arguments on tool end; it now reads them from the JSON string the SDK delivers on context.tool_arguments. Until this fix, your policies were evaluating tool calls with no visibility into what the model asked the tool ...
fix(agent-os): pass OpenAI Agents tool arguments to policy (#4685) microsoft/agent-governance-toolkit
The commit behind that change notes the accompanying changelog and README updates for the OpenAI Agents argument handling, so the documented behavior now matches what the hooks pass through.