suggest_call_sequence
Plan the order of API requests needed to satisfy dependencies and reach a specific endpoint or goal.
Instructions
Suggest a likely API call sequence for reaching a target endpoint or accomplishing a goal, such as creating prerequisites before creating a dependent resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Spec ID returned by detect_openapi | |
| goal | No | Optional natural-language goal, e.g. create product with category and attributes | |
| targetMethod | No | Exact target HTTP method when planning from a known endpoint | |
| targetPath | No | Exact target OpenAPI path when planning from a known endpoint | |
| limit | No | Maximum number of workflow suggestions to return; defaults to 3 | |
| maxDepth | No | Maximum dependency depth to explore; defaults to 5 |