@oneshot-agent/mcp-server 0.43.0 → 0.45.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.
@@ -1,12 +1,20 @@
1
1
  export const voiceTool = {
2
2
  name: "oneshot_voice",
3
- description: "Make a phone call. The call will follow the provided objective. Paid tool — quote provided before payment.",
3
+ description: "Make a phone call. The call will follow the provided objective. Pass up to 5 numbers to set up a conference call. Paid; the price is quoted before payment.",
4
4
  inputSchema: {
5
5
  type: "object",
6
6
  properties: {
7
7
  target_number: {
8
- type: "string",
9
- description: "Phone number to call (E.164 format, e.g., +14155551234)",
8
+ anyOf: [
9
+ { type: "string", description: "Phone number to call (E.164 format, e.g., +14155551234)" },
10
+ {
11
+ type: "array",
12
+ items: { type: "string" },
13
+ minItems: 1,
14
+ maxItems: 5,
15
+ description: "1 to 5 phone numbers (E.164) to join in a conference call",
16
+ },
17
+ ],
10
18
  },
11
19
  objective: {
12
20
  type: "string",
@@ -20,6 +28,10 @@ export const voiceTool = {
20
28
  type: "string",
21
29
  description: "Persona for the AI caller (optional)",
22
30
  },
31
+ caller_name: {
32
+ type: "string",
33
+ description: "Name the call speaks as: the person or agent it is made for (optional, max 100 characters)",
34
+ },
23
35
  max_duration_minutes: {
24
36
  type: "number",
25
37
  description: "Maximum call duration in minutes (1-30, optional)",
@@ -38,6 +50,7 @@ export async function handleVoice(agent, args) {
38
50
  objective: args.objective,
39
51
  context: args.context,
40
52
  caller_persona: args.caller_persona,
53
+ caller_name: args.caller_name,
41
54
  max_duration_minutes: args.max_duration_minutes,
42
55
  approvalId: args.approval_id,
43
56
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneshot-agent/mcp-server",
3
- "version": "0.43.0",
4
- "description": "MCP server for OneShot - 154 tools for AI agents",
3
+ "version": "0.45.0",
4
+ "description": "MCP server for OneShot - 172 tools for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@coinbase/cdp-sdk": "1.45.0",
28
28
  "@modelcontextprotocol/sdk": "1.27.1",
29
- "@oneshot-agent/sdk": "^0.56.0",
29
+ "@oneshot-agent/sdk": "^0.58.0",
30
30
  "zod": "3.25.76"
31
31
  },
32
32
  "devDependencies": {