Set workspace and provider context
set_contextConfigure default authentication headers for Zapmail API calls by specifying workspace ID and email service provider (Google or Microsoft).
Instructions
Set default x-workspace-key and x-service-provider headers for subsequent API calls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceKey | No | Workspace ID (UUID). | |
| serviceProvider | No | Mail service provider. |