get_library
Get Library
Retrieve a specific reusable code library by its ID. Returns the library's code, importName, version, and metadata.
get_library
Retrieve a specific reusable code library by its ID. Returns the library's code, importName, version, and metadata.
create_library
Create a new reusable code library in RudderStack. Libraries are modular JavaScript or Python functions that can be imported into transformations via their auto-generated **importName** (camelCase of the library name).
list_library_versions
List all version revisions of a specific library. Each update to a library creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.
publish
Publish specific versions of transformations and/or libraries in a single operation. This makes the selected versions live for incoming event traffic. Use **List Transformation Versions** or **List Library Versions** to find the version IDs you want to publish. This is also the mechanism for rolling back to a previous version.
update_transformation
Update an existing RudderStack transformation. You can modify the name, code, description, and optionally publish the updated version. Each update creates a new revision, preserving the full version history. Set **publish** to true to make the updated code live for incoming event traffic.
list_libraries
List all reusable code libraries in the workspace. Returns each library's metadata including name, importName, language, and timestamps. Does not include the full code — use **Get Library** to retrieve the code for a specific library.
delete_library
Delete a reusable code library by its ID. The library will be removed, but all its version revisions are permanently preserved.
update_library
Update an existing reusable code library. You can modify the code, description, and optionally publish the updated version. Each update creates a new revision. Set **publish** to true to make the updated code live.
delete_transformation
Delete a RudderStack transformation by its ID. The transformation will be removed, but all its version revisions are permanently preserved and not deleted.
list_transformation_versions
List all version revisions of a specific transformation. Each update to a transformation creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.
list_transformations
List all transformations in the workspace. Returns each transformation's metadata including name, language, version, and timestamps. Does not include the full code — use **Get Transformation** to retrieve the code for a specific transformation.
get_transformation
Retrieve a specific RudderStack transformation by its ID. Returns the transformation's current code, version, language, description, and metadata.
create_transformation
Create a new RudderStack transformation function. Transformations are custom JavaScript or Python functions that convert event data into destination-specific formats in real-time. When **publish** is false (default), the transformation is created as a draft and cannot be connected to destinations. Set **publish** to true to make it live for incoming event traffic and optionally connect destinations.
Manage RudderStack event data transformations and reusable code libraries programmatically. Create, read, update, and delete custom JavaScript or Python transformation functions that convert event data into destination-specific formats in real-time. Publish transformations with version control and rollback support, manage reusable code libraries, securely store credentials and secrets, test transformations against sample or live event payloads, and automate deployment via CI/CD. Supports connecting transformations to destinations for Event Streams and Reverse ETL pipelines.
Common questions about connecting Rudderstack Transformation to AI agents with Metorial.