Create a DataMap for a straightforward single-endpoint API call with minimal configuration.
Function name.
API endpoint URL.
Template string for formatting the response.
Parameter definitions. Keys are parameter names, values are objects with
"type", "description", and optional "required" keys.
HTTP method.
HTTP headers.
Request body for POST/PUT.
Keys indicating an error response.
DataMap — A fully configured DataMap ready for further chaining or conversion.
Create a DataMap for pattern-matching responses without API calls.
Function name.
Object mapping test values to [pattern, FunctionResult] tuples.
Parameter definitions (same format as createSimpleApiTool).
DataMap — A fully configured DataMap.