Anthropic recently added this to the API: https://www.anthropic.com/engineering/advanced-tool-use
See "Programmatic Tool Calling"
And there was an AI productivity startup called Lutra AI doing this, although they've since pivoted to some kind of MCP infra thing: https://lutra.ai/
https://www.reddit.com/r/ChatGPT/comments/14sqcg8/anyone_els...