@talqing/mcp 0.14.0 → 0.15.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.
Files changed (3) hide show
  1. package/SKILL.md +17 -4
  2. package/package.json +1 -1
  3. package/tools.json +22 -1
package/SKILL.md CHANGED
@@ -1291,9 +1291,22 @@ recordings and cost.
1291
1291
 
1292
1292
  ## Email outbound
1293
1293
 
1294
- To email a *list* rather than one person, create an **email batch**: a CSV, an
1295
- agent task that drafts each row, a connected Resend account, and a mapping that
1296
- says which column carries the address, the subject and the body.
1294
+ To email a *list* rather than one person, create an **email batch**: a CSV, a
1295
+ connected Resend account, and one of two writers for the emails:
1296
+
1297
+ - **A template** — `template: {to, subject, body}`, the same email for every
1298
+ row. `to` names the address column; `{{column}}` in the subject or body takes
1299
+ that row's cell (bare column names, no `vars.` prefix), HTML-escaped when
1300
+ `body_format` is `html`. No task, no drafting, no cost: the batch is created
1301
+ `drafted` and every row is ready to review at once. A row whose placeholder
1302
+ cell is blank is `draft_failed` ("first_name is empty") until the cell is
1303
+ filled with `patch_email_batch_recipient`. Before creating one, offer
1304
+ `send_test_email` — it mails the filled template to the signed-in user only.
1305
+ - **An agent task** — `task_id` + `field_map`, when each email should be
1306
+ written for its row (research, personalization). The rest of this section
1307
+ is mostly about this kind.
1308
+
1309
+ Pick the template when the wording is fixed and only names/fields change.
1297
1310
 
1298
1311
  **Four things to say before creating one.** A user who discovers any of them
1299
1312
  afterwards will not forgive us:
@@ -1303,7 +1316,7 @@ afterwards will not forgive us:
1303
1316
  opted in. This runs on *their* Resend account under *their* agreement.
1304
1317
  - **Creating a batch only drafts.** Nothing is sent until someone creates a
1305
1318
  send — and a send of every row mails drafts nobody reviewed.
1306
- - **Every row runs the task's CURRENT PUBLISHED version**, re-read as drafting
1319
+ - **In a task batch, every row runs the task's CURRENT PUBLISHED version**, re-read as drafting
1307
1320
  goes, so publishing mid-batch changes every row drafted after that moment. Which version
1308
1321
  wrote which rows is on the batch as `drafted_versions`, and
1309
1322
  `redraft_email_batch_recipients` with `selection: "stale_version"` is how the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talqing/mcp",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "MCP server for building Talqing AI voice, video and text agents from Claude Code, Codex, or any MCP client.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://talqing.com",
package/tools.json CHANGED
@@ -1998,7 +1998,28 @@
1998
1998
  "role": "read"
1999
1999
  },
2000
2000
  {
2001
- "description": "Create an email batch: a list, an agent task that drafts each row, and a connected Resend account to send from.",
2001
+ "description": "Fill a template from `vars` and email it to yourself (the signed-in user) only.",
2002
+ "method": "POST",
2003
+ "name": "send_test_email",
2004
+ "parameters": {
2005
+ "additionalProperties": false,
2006
+ "description": "Arguments not inlined: call describe_function('send_test_email').",
2007
+ "properties": {
2008
+ "body": {
2009
+ "type": "object"
2010
+ }
2011
+ },
2012
+ "required": [
2013
+ "body"
2014
+ ],
2015
+ "type": "object"
2016
+ },
2017
+ "path": "/v1/email/test-sends",
2018
+ "read_only": false,
2019
+ "role": "write"
2020
+ },
2021
+ {
2022
+ "description": "Create an email batch: a list, what writes each email, and a connected Resend account to send from.",
2002
2023
  "method": "POST",
2003
2024
  "name": "create_email_batch",
2004
2025
  "parameters": {