remove_template_collaborator
Remove a collaborator from an eSignature template to manage access permissions and maintain template integrity.
Instructions
Removes the template collaborator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | Templates's GUID. | |
| template_collaborator_id | Yes | Collaborator's GUID. |
Implementation Reference
- Handler implementation for the 'remove_template_collaborator' tool. Makes a POST request to the eSignatures API endpoint to remove a collaborator from a template.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)Registration of the 'remove_template_collaborator' tool in the list_tools() decorator method.types.Tool( name="remove_template_collaborator", description="Removes the template collaborator", inputSchema=INPUT_SCHEMA_REMOVE_TEMPLATE_COLLABORATOR ),
- Input schema definition for the 'remove_template_collaborator' tool, specifying required template_id and template_collaborator_id.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"], }