lookup_workflow_by_url
Search for a workflow using its source URL to check if it already exists, preventing duplicate workflow creation.
Instructions
Find a workflow by its source URL.
Search for a workflow that was registered with the given source URL. Use this to check if a workflow for a specific script or notebook already exists before creating a new one.
Args: url: The source URL to search for (e.g., GitHub URL to script).
Returns: JSON with: - found: True if workflow exists, False otherwise - workflow: Full workflow details if found
Example: lookup_workflow_by_url("https://github.com/org/repo/blob/main/train.py")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "lookup_workflow_by_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |