These read-only tools let an assistant inspect the workflows configured for the merchant’s shop. Use them to answer questions like “What workflows do I have set up for international returns?” or “Why did this return get auto-approved?”Documentation Index
Fetch the complete documentation index at: https://docs.loopreturns.com/llms.txt
Use this file to discover all available pages before exploring further.
List Workflows
Tool name:list-workflows-tool · Read-only · Permissions: manage-workflows
List the shop’s workflows with name, active status, priority, and trigger type. Filter by active status if you only want one slice.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
active | boolean | – | true for active workflows only, false for inactive only. Omit to return all. |
page | integer | 1 | Page number. |
limit | integer | 25 | Page size, max 100. |
Example prompt
“What active workflows do I have running?”
Get Workflow
Tool name:get-workflow-tool · Read-only · Permissions: manage-workflows
Get full detail for a single workflow, including its rules, conditions, and actions. Pair with List Workflows to find the workflow ID first.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workflow_id | integer | yes | The workflow ID, retrieved from list-workflows-tool. |
Example prompt
“Show me the rules for my ‘auto-approve $50 and under’ workflow.”