pub async fn with_tool_call_occurrence<F>( turn_id: String, id: String, fut: F, ) -> F::Outputwhere F: Future,
Runs fut with the exact approved tool-call occurrence in task-local scope.
fut