get_molecular_template
Generate Python functions to programmatically construct few-shot prompts for creating molecular contexts in the Sutra MCP server.
Instructions
Returns the Python function for creating molecular contexts (Module 02). Use this to programmatically construct few-shot prompts.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'get_molecular_template' MCP tool, decorated with @mcp.tool(). It returns the MOLECULAR_CONTEXT_FUNC constant, which is a string template for molecular contexts.@mcp.tool() def get_molecular_template() -> str: """ Returns the Python function for creating molecular contexts (Module 02). Use this to programmatically construct few-shot prompts. """ return MOLECULAR_CONTEXT_FUNC