@talqing/mcp 0.13.2 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +19 -15
- package/package.json +1 -1
- package/tools.json +25 -0
package/SKILL.md
CHANGED
|
@@ -376,18 +376,20 @@ states what each entry supports: which channels, its language codes and default
|
|
|
376
376
|
language, whether it accepts a speed and within what range, and its default
|
|
377
377
|
voice. Read it before choosing; do not assume a model exists.
|
|
378
378
|
|
|
379
|
-
### Images
|
|
379
|
+
### Images and files
|
|
380
380
|
|
|
381
|
-
People can
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
381
|
+
People can send files on WhatsApp (Twilio senders) and in a web chat, and a photo
|
|
382
|
+
on a web voice or video call. Every file is stored on the conversation; photos,
|
|
383
|
+
PDFs and Word (`.docx`) files are also read by the agent, and anything else
|
|
384
|
+
(voice notes, videos, spreadsheets) is named to it as something it cannot open.
|
|
385
|
+
**There is no setting for this.** Whether the agent sees a photo or a scanned
|
|
386
|
+
PDF page is decided by the model it runs: `vision` on its catalog entry. Most
|
|
387
|
+
entries read images; `gemini-3.8-flash`, `gemini-3.7-flash`, `openai/gpt-live-1`
|
|
388
|
+
and the two `grok-voice-*` realtime entries do not — such an agent is told it
|
|
389
|
+
cannot view the image. Text PDFs and Word files are read on any model. If a user
|
|
390
|
+
wants image input, check `vision` before picking the model.
|
|
389
391
|
|
|
390
|
-
A phone call carries no files
|
|
392
|
+
A phone call carries no files.
|
|
391
393
|
|
|
392
394
|
### Vision input (screen share)
|
|
393
395
|
|
|
@@ -613,6 +615,9 @@ A tool is one capability the agent's LLM can call mid-conversation. It has:
|
|
|
613
615
|
to get it out of the conversation, and a bare `{"type": "string"}` is how a
|
|
614
616
|
tool ends up called with the wrong value. Mark the ones the tool cannot run
|
|
615
617
|
without as `required`, and use an `enum` wherever the set of values is closed.
|
|
618
|
+
A **File** parameter is `{"type": "string", "format": "attachment"}`: the agent
|
|
619
|
+
passes the id of a file the person sent, and the operation reads
|
|
620
|
+
`{{args.<name>.url}}` (a link that lives an hour) and `.filename`, `.mime_type`.
|
|
616
621
|
- **`long_running_task`** — voice and video agents keep talking while it runs and
|
|
617
622
|
share the result when it lands; a run finishing within a second answers inline
|
|
618
623
|
instead. Text agents wait either way. There is no fixed line — steer it from
|
|
@@ -1620,11 +1625,10 @@ then is it analysed and its `session.completed` sent, so end the chats you start
|
|
|
1620
1625
|
On Telegram and WhatsApp a person's messages join one chat until it ends; the
|
|
1621
1626
|
next starts a new one.
|
|
1622
1627
|
|
|
1623
|
-
A message can carry `
|
|
1624
|
-
`message`, each a base64 `data
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
above) or the call is refused naming the model.
|
|
1628
|
+
A message can carry `files`: up to four `{data_url, filename}` entries beside
|
|
1629
|
+
`message`, each a base64 `data:` URL of any type up to 20 MB. The caption and the
|
|
1630
|
+
file arrive as one turn and one item, so send them together rather than as two
|
|
1631
|
+
messages. See *Images and files* above for what the agent reads.
|
|
1628
1632
|
|
|
1629
1633
|
**Reading it back.** A *conversation* is the thread with a person, on any
|
|
1630
1634
|
surface; a *call* is one voice or video session. A person is one **contact**
|
package/package.json
CHANGED
package/tools.json
CHANGED
|
@@ -3505,6 +3505,31 @@
|
|
|
3505
3505
|
"read_only": true,
|
|
3506
3506
|
"role": "read"
|
|
3507
3507
|
},
|
|
3508
|
+
{
|
|
3509
|
+
"description": "One file a person sent in this conversation, with a fresh link (it lives 1 hour).",
|
|
3510
|
+
"method": "GET",
|
|
3511
|
+
"name": "get_conversation_attachment",
|
|
3512
|
+
"parameters": {
|
|
3513
|
+
"additionalProperties": false,
|
|
3514
|
+
"description": "Arguments not inlined: call describe_function('get_conversation_attachment').",
|
|
3515
|
+
"properties": {
|
|
3516
|
+
"attachment_id": {
|
|
3517
|
+
"type": "string"
|
|
3518
|
+
},
|
|
3519
|
+
"conversation_id": {
|
|
3520
|
+
"type": "string"
|
|
3521
|
+
}
|
|
3522
|
+
},
|
|
3523
|
+
"required": [
|
|
3524
|
+
"conversation_id",
|
|
3525
|
+
"attachment_id"
|
|
3526
|
+
],
|
|
3527
|
+
"type": "object"
|
|
3528
|
+
},
|
|
3529
|
+
"path": "/v1/conversations/{conversation_id}/attachments/{attachment_id}",
|
|
3530
|
+
"read_only": true,
|
|
3531
|
+
"role": "read"
|
|
3532
|
+
},
|
|
3508
3533
|
{
|
|
3509
3534
|
"description": "The agent sessions behind a conversation, newest first.",
|
|
3510
3535
|
"method": "GET",
|