AI tool usage
The public API can be exposed to AI assistants as tools. Use the AI tool schema when a framework accepts JSON tool definitions, and use the OpenAPI schema when a framework imports OpenAPI directly.Recommended agent policy
Give the assistant this policy before allowing write access:Tool selection
Risk levels
The API does not currently have an inactive status field. If the user asks to cancel a subscription, clarify whether they mean deleting the local tracking record or cancelling the service outside this app.
Example flow
User:- Calls
list_subscriptions. - Finds the Netflix record.
- Asks:
- Calls
update_subscriptiononly after confirmation:
Error recovery
Errors use a stable shape:field and suggestedFix to correct the next request. For writes, ask for confirmation again if the corrected payload changes the effective action.