PyGen toolset
The PyGen toolset provides read-only access to SnapLogic's Snap knowledge base for text-to-pipeline generation. Use these tools from an MCP client to look up available Snaps, query usage examples, retrieve Snap parameters and documentation, and validate pipeline designs before building them.
All PyGen toolset endpoints share the base path
/api/1/rest/public/platform_mcp/mcp/pygen.
/mcp/pygen returns 404 or
/mcp exposes only 12 tools, PyGen is not wired for that
environment.| PyGen toolset APIs | |
|---|---|
POST
/platform_mcp/mcp/pygen
|
sends a JSON-RPC 2.0 request to the Platform MCP Server using the PyGen toolset and returns the response as a Server-Sent Events (SSE) stream. |
GET
/platform_mcp/mcp/pygen
|
opens a persistent Server-Sent Events (SSE) stream for receiving server-initiated messages from the Platform MCP Server on the PyGen toolset. |
DELETE
/platform_mcp/mcp/pygen
|
terminates an active PyGen toolset MCP session and releases any associated server-side resources. |
Available tools
After initializing a session, call tools/list to retrieve the
live set of tools. The following 9 tools are available in the PyGen toolset:
| Tool name | Description | Inputs |
|---|---|---|
pygen_get_all_snap_names |
Return a list of all Snap names available in the SnapLogic catalog. | None. |
pygen_list_snaps_by_category |
Return Snap names filtered by a given category (for example,
Transform, Parse,
Write). |
|
pygen_query_snap_examples |
Retrieve example usages for one or more Snaps. |
|
pygen_query_pipeline_examples |
Retrieve example pipelines that match a natural-language description. |
|
pygen_validate_snap_names |
Validate that a list of Snap names exists in the catalog. Returns any unknown names. |
|
pygen_get_snap_parameters |
Retrieve the configurable parameter schema for one or more Snaps. |
|
pygen_get_snap_documentation |
Retrieve the documentation text for one or more Snaps, including description and field-level help. |
|
pygen_get_snap_io_info |
Retrieve the input and output schema for one or more Snaps. |
|
pygen_validate_connections |
Validate that the connections between a sequence of Snaps are compatible (matching output schema to input schema). |
|