We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07939c0 commit 1079d1eCopy full SHA for 1079d1e
docs/src/content/docs/guides/quickstart.mdx
@@ -85,6 +85,13 @@ const historyFunFact = tool({
85
name: 'history_fun_fact',
86
// The description is used to describe **when** to use the tool by telling it **what** it does.
87
description: 'Give a fun fact about a historical event',
88
+ // This agent takes no parameters, so we provide an empty JSON schema.
89
+ parameters: {
90
+ type: 'object',
91
+ properties: {},
92
+ required: [],
93
+ additionalProperties: false
94
+ }
95
execute: async () => {
96
// The output will be returned back to the Agent to use
97
return 'Sharks are older than trees.';
0 commit comments