Skip to content

Commit 1dfe790

Browse files
authored
fix: Correct some typos in quickstart (#203)
1 parent fd95954 commit 1dfe790

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/pages/quickstart/Prerequisites/python.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ You can now call tools with your client. Here's an example of calling the `Math.
7272
```python
7373
response = client.tools.execute(
7474
tool_name="Math.Sqrt",
75-
input={"a": 625},
75+
input={"a": "625"},
7676
user_id="[email protected]",
7777
)
78-
print(response.output.value) # 25
78+
print(response.output.value)
7979
```
8080

8181
For a complete list of available tools, visit our [Toolkits page](/toolkits). You can explore tools for email, calendar, GitHub, and many other services.

src/components/pages/quickstart/Prerequisites/typescript.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ You can now call tools with your client. Here's an example of calling the `Math.
7373
async function main() {
7474
const executeToolResponse = await client.tools.execute({
7575
tool_name: "Math.Sqrt",
76-
inputs: { a: 625 },
76+
input: { a: "625" },
7777
user_id: "[email protected]",
7878
});
7979

80-
console.log(executeToolResponse.id);
80+
console.log(executeToolResponse.output.value);
8181
}
8282

8383
main();

0 commit comments

Comments
 (0)