list_recent_contracts
Retrieve details of the most recent contracts to monitor activity and manage eSignature workflows.
Instructions
Returns the the details of the latest 100 contracts.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Handler implementation for the 'list_recent_contracts' tool, which fetches recent contracts via API GET request to /api/contracts/recent and returns the JSON response.if name == "list_recent_contracts": response = await httpxClient.get(f"/api/contracts/recent?token={secret_token}") return [types.TextContent(type="text", text=f"Response code: {response.status_code}, response: {response.json()}")]
- Input schema definition for the 'list_recent_contracts' tool, which requires no parameters.INPUT_SCHEMA_LIST_RECENT_CONTRACTS = { "type": "object", "properties": {}, "required": [], }
- src/mcp_server_esignatures/server.py:49-53 (registration)Registration of the 'list_recent_contracts' tool in the list_tools handler, including name, description, and inputSchema reference.types.Tool( name="list_recent_contracts", description="Returns the the details of the latest 100 contracts.", inputSchema=INPUT_SCHEMA_LIST_RECENT_CONTRACTS ),