mirror of
https://github.com/samanhappy/mcphub.git
synced 2026-01-06 22:58:11 -05:00
feat: Add tool annotations for improved LLM tool understanding (#549)
Co-authored-by: triepod-ai <199543909+triepod-ai@users.noreply.github.com>
This commit is contained in:
@@ -1141,6 +1141,10 @@ Available servers: ${serversList}`,
|
|||||||
},
|
},
|
||||||
required: ['query'],
|
required: ['query'],
|
||||||
},
|
},
|
||||||
|
annotations: {
|
||||||
|
title: 'Search Tools',
|
||||||
|
readOnlyHint: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'call_tool',
|
name: 'call_tool',
|
||||||
@@ -1161,6 +1165,10 @@ Available servers: ${serversList}`,
|
|||||||
},
|
},
|
||||||
required: ['toolName'],
|
required: ['toolName'],
|
||||||
},
|
},
|
||||||
|
annotations: {
|
||||||
|
title: 'Call Tool',
|
||||||
|
openWorldHint: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user