list_custom_fields
List all custom fields configured in your Humaans account to review available data points.
Instructions
List all configured custom fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- humaans_mcp/server.py:412-415 (handler)The tool handler function that executes the 'list_custom_fields' logic. It is decorated with @mcp.tool(), takes no parameters, and calls the Humaans API at '/custom-fields' with a limit of 250.
@mcp.tool() async def list_custom_fields() -> Any: """List all configured custom fields.""" return await client().list_page("/custom-fields", limit=250) - humaans_mcp/server.py:412-412 (registration)The tool is registered via the @mcp.tool() decorator on the async function. The FastMCP instance 'mcp' (created at line 7) registers this function as an MCP tool named 'list_custom_fields'.
@mcp.tool() - humaans_mcp/client.py:45-55 (helper)The client().list_page() helper method called by the handler. It constructs query parameters (filters, $limit, $skip) and makes an HTTP GET request to the Humaans API.
async def list_page( self, path: str, filters: dict[str, Any] | None = None, limit: int = 100, skip: int = 0, ) -> Any: params = dict(filters or {}) params["$limit"] = limit params["$skip"] = skip return await self.get(path, params)