Skip to content
Discussion options

You must be logged in to vote

Hi @kardwalker,

Yes, for Python workflows the supported pattern for this is declaration-only tools plus the workflow request_info / responses handshake.

approval_mode="always_require" is a different feature: it pauses for approval, but once approved the framework executes the registered local tool. For host-owned execution, define the tool as a FunctionTool with func=None and an input schema. The schema is still advertised to the model, but there is no implementation for the framework to execute.

When the model selects that tool, the workflow pauses and emits a request_info event containing the function_call. The host can inspect the tool name, arguments, and call_id, run RBAC/policy/appr…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by moonbox3
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants