feat: friendly tool names per MCP title field or manifest
- Aggiunto campo 'title' a tools/list in tutti gli script MCP locali (Gmail, Gcal, Drive, Email, SSH, Weather, Wikipedia, WhatsApp) - Aggiunto tools[]/display_name nel manifest per connector remoti/package esterni (Firecrawl, HTTP Fetch, Exa, Tavily, SerpAPI Flights) - Documentata convenzione e resolution order in SKALD.md - Aggiornata manifest_guide.md per tools[] in connectors.json - Bumped version e sha256 per tutti i 13 connector
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
"homepage": "https://github.com/WhiskeySockets/Baileys",
|
||||
"icon_small": "icon_sm.png",
|
||||
"icon_large": "icon_lg.png",
|
||||
"version": 2,
|
||||
"version_string": "2.0.2",
|
||||
"version_release_date": "2026-07-19"
|
||||
}
|
||||
"version": 3,
|
||||
"version_string": "2.0.3",
|
||||
"version_release_date": "2026-07-21"
|
||||
}
|
||||
@@ -363,21 +363,25 @@ async function toolSearchContacts(args) {
|
||||
const TOOLS = [
|
||||
{
|
||||
name: 'login_status',
|
||||
title: 'Login Status',
|
||||
description: 'Interactive-login status for this connector (used by the Skald login panel). Returns a JSON object {state, qr, message}: state is connecting|need_scan|ready|logged_out; qr is a data-URL PNG present only while a scan is needed. Safe to poll.',
|
||||
inputSchema: { type: 'object', properties: {} },
|
||||
},
|
||||
{
|
||||
name: 'status',
|
||||
title: 'Status',
|
||||
description: 'WhatsApp connection status as a short human-readable report. Call this first when another WhatsApp tool fails.',
|
||||
inputSchema: { type: 'object', properties: {} },
|
||||
},
|
||||
{
|
||||
name: 'logout',
|
||||
title: 'Logout',
|
||||
description: 'Log out of WhatsApp: end the session, clear the stored credentials, and generate a fresh QR code to link a (possibly different) phone. After calling, the user must scan the new QR in the Skald connector page.',
|
||||
inputSchema: { type: 'object', properties: {} },
|
||||
},
|
||||
{
|
||||
name: 'list_chats',
|
||||
title: 'List Chats',
|
||||
description: 'List recent WhatsApp chats (contacts and groups) with name, ID and unread count. Only chats seen since sign-in / history sync are known.',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -386,6 +390,7 @@ const TOOLS = [
|
||||
},
|
||||
{
|
||||
name: 'get_messages',
|
||||
title: 'Get Messages',
|
||||
description: 'Get buffered messages from a chat. Identify it with EITHER chat_id (from list_chats) OR a phone number with country code for an individual contact. Only messages seen since sign-in are available (no deep history).',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -399,6 +404,7 @@ const TOOLS = [
|
||||
},
|
||||
{
|
||||
name: 'send_message',
|
||||
title: 'Send Message',
|
||||
description: 'Send a WhatsApp text message. Identify the recipient with EITHER chat_id (from list_chats, use for groups) OR a phone number with country code for an individual contact.',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -412,6 +418,7 @@ const TOOLS = [
|
||||
},
|
||||
{
|
||||
name: 'search_contacts',
|
||||
title: 'Search Contacts',
|
||||
description: 'Search known WhatsApp contacts by name or number. Use to find a contact ID to message.',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
|
||||
Reference in New Issue
Block a user