suggest_call_sequence
Plan a sequence of API calls to accomplish a goal or reach a target endpoint, automatically including prerequisite requests.
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 |