The Taskflow Asset Management server lets AI agents manage the deployment lifecycle of taskflows without opening the user interface. Find taskflows and their repository locations, publish or unpublish one or many taskflows, and track each publish or unpublish job to its final result. Update the deployment settings of a published taskflow, such as its run API name and default parameter set.
Use cases
Key use cases for the Taskflow Asset Management server:
•Publish a designed taskflow to create a callable endpoint.
•Publish all taskflows in a folder at once and review the failed jobs.
•Unpublish a taskflow that you no longer want to expose.
•Find the unpublished taskflows in your organization before a release.
•Change the run API name of a published taskflow.
•Specify the default parameter set of a published taskflow.
Key capabilities
Perform the following tasks with the MCP server:
•Find taskflows in the organization and filter them by publication status.
•List the assets in a project or in a folder of a project.
•Retrieve the project and folder of a taskflow to build its asset path.
•Publish or unpublish one or many taskflows by asset path.
•Check publish and unpublish jobs until they finish and report the outcome for each asset.
•Update the run API name, default parameter set, and allowed users and groups of a taskflow.
Server URL
Use the following server URL to access the Taskflow Asset Management server:
Use the following sample prompts with the Taskflow Asset Management server:
•List all unpublished taskflows in my organization.
•Show the published taskflows.
•What assets are in the project Default?
•List the assets in the folder MyFolder of the project Default.
•Find the project and folder of the taskflow Taskflow1.
•Publish the taskflow Taskflow1.
•Publish all the taskflows in the folder MyFolder of the project Default and tell me which ones failed.
•Unpublish the taskflow Taskflow1 and confirm that it is unpublished.
•Check the status of publish job abc123.
•Check whether unpublish job abc123 has finished.
•Rename the run API name of Taskflow1 to tf_metering_v2.
•Set the default parameter set of Taskflow1 to Prod Defaults.
Available tools
The Taskflow Asset Management server provides the following tools:
get_asset_path
Retrieves the project and folder of a taskflow by using its GUID. Use the results to build the asset path for publishing or unpublishing the taskflow.
Parameter: guid. The GUID of the taskflow. Get this value from the GUID field in the list_taskflows response.
get_publish_status
Retrieves the per-asset status of a publish job. After you run publish_assets, poll this tool until the job state is SUCCESS or FAILED.
Parameter: jobId. The ID of the publish job. Get this value from the jobId field in the publish_assets response.
get_unpublish_status
Retrieves the status of each asset in an unpublish job. After you run unpublish_assets, poll this tool until the job state is SUCCESS or FAILED.
Parameter: jobId. The ID of the unpublish job. Get this value from the jobId field in the unpublish_assets response.
list_assets_in_location
Lists the assets in a project or in a folder of a project, for example taskflows and process objects. The response includes the name, type, GUID, and asset path of each asset.
Parameters:
- folder. Optional. The name of a folder in the project. The name is case-sensitive. If you omit this parameter, the tool lists only the assets directly in the project, not the assets in its folders.
- project. The name of the project that contains the assets or the folder. The name is case-sensitive.
list_taskflows
Lists the taskflow assets in the organization. You can filter the list by publication status. The response doesn't include the project or folder. To build the asset path, use get_asset_path with the GUID.
Parameters:
- MimeType. The kind to asset to list. Set to taskflow.
- PublicationStatus. Optional. Filters the list by publication status. Valid values are published and unpublished.
publish_assets
Starts a bulk publish job for taskflow asset paths. After the job starts, poll get_publish_status with the returned jobId until the job state is SUCCESS or FAILED.
Parameter: data. A JSON:API resource that describes the publish job. Set type to publishJob. Set type to attributes.assetPaths to a list of up to 199 asset paths.
unpublish_assets
Starts a bulk unpublish job for taskflow asset paths. After the job starts, poll get_unpublish_status with the returned jobId until the job state is SUCCESS or FAILED.
Parameter: data. A JSON:API resource that describes the unpublish job. Set type to unpublish. Set attributes.assetPaths to a list of up to 199 asset paths.
update_taskflow_metadata
Updates the deployment settings of taskflows that you identify by GUID. Keys are case-sensitive. The tool ignores unknown keys without returning an error, so check that the change took effect. The Allowed Users and Allowed Groups keys replace the existing list.
Parameters:
- assetType. The type of asset to update. Set to Taskflow.
- taskflows. A list of 1 to 200 taskflows. For each taskflow, specify the GUID and up to 50 deployment key-value pairs.
Sample request schemas
The following schemas show how you can define a request for each tool on the Taskflow Asset Management server:
get_asset_path
Request schema:
{ "guid": "<guid>" }
get_publish_status
Request schema:
{ "jobId": "<jobId returned by publish_assets>" }
get_unpublish_status
Request schema:
{ "jobId": "<jobId returned by unpublish_assets>" }
•Publish taskflow by name. Lists taskflows, matches the display name, resolves the project and folder, publishes, polls the publish job until final, and confirms the publication status.
•Unpublish taskflow by name. Lists taskflows, matches the display name, resolves the project and folder, unpublishes, polls the unpublish job until final, and confirms the publication status.