remove_template_collaborator
Remove a collaborator from an eSignature template by specifying the template and collaborator IDs. Streamline your template management process with this straightforward functionality.
Instructions
Removes the template collaborator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_collaborator_id | Yes | Collaborator's GUID. | |
| template_id | Yes | Templates's GUID. |
Implementation Reference
- Handler function executes HTTP POST to remove template collaborator using the esignatures API.if name == "remove_template_collaborator": response = await httpxClient.post(f"/api/templates/{arguments.get('template_id')}/collaborators/{arguments.get('template_collaborator_id')}/remove?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
- src/mcp_server_esignatures/server.py:86-90 (registration)Tool registration in the list_tools handler, defining name, description, and input schema.types.Tool( name="remove_template_collaborator", description="Removes the template collaborator", inputSchema=INPUT_SCHEMA_REMOVE_TEMPLATE_COLLABORATOR ),
- Input schema defining required template_id and template_collaborator_id for the tool.INPUT_SCHEMA_REMOVE_TEMPLATE_COLLABORATOR = { "type": "object", "properties": { "template_id": {"type": "string", "description": "Templates's GUID."}, "template_collaborator_id": {"type": "string", "description": "Collaborator's GUID."} }, "required": ["template_id", "template_collaborator_id"], }