list_template_collaborators
Retrieve collaborators for eSignature templates to manage editing access and permissions. Returns GUID, name, email, and edit links for each collaborator.
Instructions
Returns the list of template collaborators, including their GUID, name, email, and the HTTPS link for editing the template
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes |
Implementation Reference
- Handler implementation for the 'list_template_collaborators' tool. Dispatches HTTP GET request to the eSignatures API endpoint and returns the response.if name == "list_template_collaborators": response = await httpxClient.get(f"/api/templates/{arguments.get('template_id')}/collaborators?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
- src/mcp_server_esignatures/server.py:91-95 (registration)Tool registration in the list_tools() handler, defining name, description, and input schema.types.Tool( name="list_template_collaborators", description="Returns the list of template collaborators, including their GUID, name, email, and the HTTPS link for editing the template", inputSchema=INPUT_SCHEMA_LIST_TEMPLATE_COLLABORATORS )
- Input schema definition for the 'list_template_collaborators' tool, requiring 'template_id'.INPUT_SCHEMA_LIST_TEMPLATE_COLLABORATORS = { "type": "object", "properties": { "template_id": {"type": "string"} }, "required": ["template_id"] }