list_templates
Retrieve a list of available templates for managing eSignature contracts efficiently on the MCP Server, simplifying template selection and customization.
Instructions
Lists the templates.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Handler implementation for the 'list_templates' tool within the call_tool dispatcher. It performs a GET request to the eSignatures API to list templates.if name == "list_templates": response = await httpxClient.get(f"/api/templates?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
- src/mcp_server_esignatures/server.py:75-79 (registration)Registration of the 'list_templates' tool in the list_tools handler, specifying name, description, and input schema.types.Tool( name="list_templates", description="Lists the templates.", inputSchema=INPUT_SCHEMA_LIST_TEMPLATES ),
- Input schema definition for the 'list_templates' tool, which expects an empty object.INPUT_SCHEMA_LIST_TEMPLATES = { "type": "object", "properties": {} }