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:
@@ -1152,6 +1152,7 @@ def _email_download_attachments(args: dict) -> str:
|
||||
TOOLS = [
|
||||
{
|
||||
"name": "status",
|
||||
"title": "Status",
|
||||
"description": (
|
||||
"Self-check that the email integration is operational: verifies IMAP and SMTP both "
|
||||
"authenticate with the configured credentials. Call this first whenever another email "
|
||||
@@ -1161,6 +1162,7 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "list_messages",
|
||||
"title": "List Messages",
|
||||
"description": (
|
||||
"List messages in a folder (default INBOX), newest first. The optional 'query' supports "
|
||||
"a Gmail-like mini-syntax: from:x, to:x, subject:x, since:YYYY-MM-DD, before:YYYY-MM-DD, "
|
||||
@@ -1180,6 +1182,7 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "get_message",
|
||||
"title": "Get Message",
|
||||
"description": (
|
||||
"Get the full content of a message by its UID, including body text (truncated at 10000 "
|
||||
"chars; HTML-only emails are converted to readable text). Attachment filenames are "
|
||||
@@ -1198,6 +1201,7 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "get_thread",
|
||||
"title": "Get Thread",
|
||||
"description": (
|
||||
"Best-effort thread reconstruction for a message UID: gathers messages in the same "
|
||||
"folder that share the Message-ID reference chain (In-Reply-To/References) or the same "
|
||||
@@ -1214,11 +1218,13 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "list_folders",
|
||||
"title": "List Folders",
|
||||
"description": "List all IMAP folders/mailboxes with total and unread message counts. Use to discover folder names for the other tools.",
|
||||
"inputSchema": {"type": "object", "properties": {}},
|
||||
},
|
||||
{
|
||||
"name": "modify_message",
|
||||
"title": "Modify Message",
|
||||
"description": (
|
||||
"Change a message's state: add/remove flags, mark read/unread, move to another folder, "
|
||||
"archive or delete. Friendly flag names: 'read'/'seen', 'flagged'/'starred', 'answered', "
|
||||
@@ -1243,6 +1249,7 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "send_message",
|
||||
"title": "Send Message",
|
||||
"description": (
|
||||
"Send an email via SMTP. Supports in-thread replies by passing in_reply_to (the "
|
||||
"Message-ID of the message being replied to, with or without angle brackets), which sets "
|
||||
@@ -1267,11 +1274,13 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "get_profile",
|
||||
"title": "Get Profile",
|
||||
"description": "Show the configured account: username, From address, IMAP/SMTP servers, folder count, and INBOX total/unread.",
|
||||
"inputSchema": {"type": "object", "properties": {}},
|
||||
},
|
||||
{
|
||||
"name": "create_folder",
|
||||
"title": "Create Folder",
|
||||
"description": "Create a new IMAP folder/mailbox. Fails if it already exists.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
@@ -1283,6 +1292,7 @@ TOOLS = [
|
||||
},
|
||||
{
|
||||
"name": "download_attachments",
|
||||
"title": "Download Attachments",
|
||||
"description": (
|
||||
"Download all attachments from a message to a local folder (default data/email_attachments/). "
|
||||
"Returns the absolute path and size of each saved file. Pass 'folder' if the message is not in INBOX."
|
||||
|
||||
Reference in New Issue
Block a user