needsApproval method
Whether a call of tool waits for the user's approval, by the agent
list as it is now.
Implementation
bool needsApproval(String tool) {
final capabilities = _read(_surface, _surface.agentSchema);
return capabilities.callOf(_tools[tool]?.method)?.needsApproval ?? false;
}