Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 23:15 UTC
fix: modifySchema
balyan.sid@gmail.com committed
Jun 30, 2025 at 21:45 UTC
7ec2186face42e17bf03f925c5acce113b1cac1c
1 file changed
+2
-2
fern/pages/src/tool-calling/schema-modifiers.mdx
+2
-2
@@ -61,7 +61,7 @@ const tools = await composio.tools.get(
61
tools: ["HACKERNEWS_GET_LATEST_POSTS", "HACKERNEWS_GET_USER"],
62
},
63
{
64
- modifyToolSchema: ({ toolSlug, toolkitSlug, schema }) => {
64
+ modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
65
if (toolSlug === "HACKERNEWS_GET_LATEST_POSTS") {
66
const { inputParameters } = schema;
67
if (inputParameters?.properties) {
@@ -154,7 +154,7 @@ const tools = await composio.tools.get(
154
tools: ['HACKERNEWS_GET_LATEST_POSTS', 'HACKERNEWS_GET_USER'],
155
},
156
{
157
- modifyToolSchema: ({ toolSlug, toolkitSlug, schema }) => {
157
+ modifySchema: ({ toolSlug, toolkitSlug, schema }) => {
158
if (toolSlug === 'HACKERNEWS_GET_LATEST_POSTS') {
159
const { inputParameters } = schema;
160
if (inputParameters?.properties) {