x
This commit is contained in:
1 parent
167d07f0c2
commit
9a915ee395
6 files changed
+264
-40
No files matched your search
@@ -107,7 +107,7 @@ const rootMenuNodeSchema = {
|
||||
export const MENU_TOOL_DEFINITIONS = [
|
||||
{
|
||||
name: "get_footer_menu",
|
||||
description: "Read footer-explore or footer-support in a compact, language-specific format. Use lang=all only when every translation is required.",
|
||||
description: "Read footer-explore or footer-support in a compact, language-specific format. An allowed menu that does not exist is returned as exists:false, version:null, items:[]. Use lang=all only when every translation is required.",
|
||||
inputSchema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
@@ -128,7 +128,7 @@ export const MENU_TOOL_DEFINITIONS = [
|
||||
},
|
||||
{
|
||||
name: "add_footer_menu_item",
|
||||
description: "Add one item to footer-explore or footer-support without replacing the menu. Use dryRun first and pass the version from get_footer_menu.",
|
||||
description: "Add one item to footer-explore or footer-support without replacing the menu. The first actual add creates an allowed footer menu when it does not exist. Use dryRun first and pass the version from get_footer_menu.",
|
||||
inputSchema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
@@ -435,6 +435,8 @@ function compactFooterResponse(data: any, operation: string, params: any) {
|
||||
|
||||
for (const key of [
|
||||
"dryRun",
|
||||
"exists",
|
||||
"willCreateMenu",
|
||||
"version",
|
||||
"lang",
|
||||
"item",
|
||||
|
||||
Reference in new issue
Block a user