diff --git a/src/components/pages/quickstart/Prerequisites/python.mdx b/src/components/pages/quickstart/Prerequisites/python.mdx index 90026dcaf..017a34571 100644 --- a/src/components/pages/quickstart/Prerequisites/python.mdx +++ b/src/components/pages/quickstart/Prerequisites/python.mdx @@ -72,10 +72,10 @@ You can now call tools with your client. Here's an example of calling the `Math. ```python response = client.tools.execute( tool_name="Math.Sqrt", - input={"a": 625}, + input={"a": "625"}, user_id="user@example.com", ) -print(response.output.value) # 25 +print(response.output.value) ``` For a complete list of available tools, visit our [Toolkits page](/toolkits). You can explore tools for email, calendar, GitHub, and many other services. diff --git a/src/components/pages/quickstart/Prerequisites/typescript.mdx b/src/components/pages/quickstart/Prerequisites/typescript.mdx index 5262f5aae..034184edf 100644 --- a/src/components/pages/quickstart/Prerequisites/typescript.mdx +++ b/src/components/pages/quickstart/Prerequisites/typescript.mdx @@ -73,11 +73,11 @@ You can now call tools with your client. Here's an example of calling the `Math. async function main() { const executeToolResponse = await client.tools.execute({ tool_name: "Math.Sqrt", - inputs: { a: 625 }, + input: { a: "625" }, user_id: "user@example.com", }); - console.log(executeToolResponse.id); + console.log(executeToolResponse.output.value); } main();