Overview
Methods
getWorkflows()
Get all workflows (local + dynamic).
Example:
findByName()
Find a workflow by its base name.findById()
Find a workflow by its ID.search()
Search workflows by query, tags, or labels.registerDynamic()
Register a dynamic workflow at runtime.removeDynamic()
Remove a dynamic workflow.true if the workflow was found and removed, false otherwise.
subscribe()
Subscribe to workflow change events.hasAny()
Check if any workflows exist in the registry.MCP Tools Registered
When the jobs & workflows system is enabled, workflow capabilities are exposed through these MCP tools:
Hyphen aliases (
list-workflows, execute-workflow, …) still resolve with a deprecation log line for one release — agents and code that hardcoded the old form keep working.