approveToolCall

open suspend fun approveToolCall(tool: McpTool, arguments: JsonObject): Boolean(source)

Whether the view may run tool now. The default follows the library's rule — tools that change data ask the user — so read-only tools pass and others are declined unless the host asks the user.