mcpProvider-backed
Create email setup link
tools/call
Create a short-lived browser link for entering SMTP and IMAP credentials securely. Secrets never pass through MCP.
Parameters
workspaceIdrequired
string
No description.
Example
MCP tools/calljson
{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "create-email-setup-link","arguments": {"workspaceId": "00000000-0000-4000-8000-000000000000"}}}
Response
Success response schemajson schema
{"type": "object","properties": {"url": {"type": "string"},"expiresInSeconds": {"type": "integer"}},"required": ["url","expiresInSeconds"]}
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.