get_property_definition
Retrieve property definitions for survey summaries in Notion to understand data structure and fields for conducting and reviewing surveys.
Instructions
Get property definition for survey summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.py:86-90 (handler)The main handler function for the 'get_property_definition' tool. It is decorated with @mcp.tool(), which registers the tool with the MCP server. The function retrieves the property definitions from the Notion database specified by root_database_id and returns them.
@mcp.tool() def get_property_definition(): """Get property definition for survey summary""" return notion.databases.retrieve(root_database_id)["properties"]