list_forms
Retrieve all signup forms from the Keila newsletter platform to manage subscriber collection methods.
Instructions
List all signup forms.
Returns: A dict with 'data' (list of forms).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- client.py:212-216 (handler)The implementation of list_forms within the KeilaClient class that performs the actual API call.
def list_forms(self) -> dict: """List all forms.""" resp = self.session.get(f"{self.url}/api/v1/forms", headers=self._headers(), timeout=30) resp.raise_for_status() return resp.json() - mcp_server.py:280-288 (registration)The MCP tool registration and handler wrapper for list_forms.
@mcp.tool() def list_forms() -> dict: """ List all signup forms. Returns: A dict with 'data' (list of forms). """ return _client.list_forms()