Skip to content

The agent engineering platform.

docs: Updated incorrected type used for the `multiply_by_max` function (#28042)

WEIQ-beepbeep1e285cb5f3ec
diff --git a/docs/docs/how_to/custom_tools.ipynb b/docs/docs/how_to/custom_tools.ipynb
index 8046b7b00e..e9a50a72e1 100644
--- a/docs/docs/how_to/custom_tools.ipynb
+++ b/docs/docs/how_to/custom_tools.ipynb
@@ -162,7 +162,7 @@
"\n",
"@tool\n",
"def multiply_by_max(\n",
- " a: Annotated[str, \"scale factor\"],\n",
+ " a: Annotated[int, \"scale factor\"],\n",
" b: Annotated[List[int], \"list of ints over which to take maximum\"],\n",
") -> int:\n",
" \"\"\"Multiply a by the maximum of b.\"\"\"\n",