From 25caa0da016532f361b78a2f8517d8fa174ae366 Mon Sep 17 00:00:00 2001 From: muhammadhamidrazasidtechno <160109562+muhammadhamidrazasidtechno@users.noreply.github.com> Date: Fri, 15 Aug 2025 14:56:20 +0500 Subject: [PATCH] Update tools.md --- docs/tools.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tools.md b/docs/tools.md index e886ae725..31974fde1 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -181,6 +181,8 @@ Sometimes, you don't want to use a Python function as a tool. You can directly c - `description` - `params_json_schema`, which is the JSON schema for the arguments - `on_invoke_tool`, which is an async function that receives a [`ToolContext`][agents.tool_context.ToolContext] and the arguments as a JSON string, and must return the tool output as a string. +- `strict_json_schema`: Whether the JSON schema is in strict mode. It's recommended to set this to `True`. +- `is_enabled`: Whether the tool is enabled. This can be a boolean or a callable that takes the run context and agent, and returns whether the tool is enabled. ```python from typing import Any