{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"Creates an organization spend alert.","properties":{"body":{"$ref":"#/definitions/CreateSpendAlertBody"}},"required":["body"],"additionalProperties":false,"definitions":{"CreateSpendAlertBody":{"type":"object","description":"Parameters for creating or updating a spend alert.","properties":{"threshold_amount":{"type":"integer","minimum":0,"description":"The alert threshold amount, in cents."},"currency":{"type":"string","enum":["USD"],"description":"The currency for the threshold amount."},"interval":{"type":"string","enum":["month"],"description":"The time interval for evaluating spend against the threshold."},"notification_channel":{"$ref":"#/definitions/SpendAlertNotificationChannel"}},"required":["threshold_amount","currency","interval","notification_channel"]},"SpendAlertNotificationChannel":{"type":"object","description":"Email notification settings for a spend alert.","properties":{"type":{"type":"string","enum":["email"],"description":"The notification channel type. Currently only `email` is supported."},"recipients":{"type":"array","description":"Email addresses that receive the spend alert notification.","items":{"type":"string"}},"subject_prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional subject prefix for alert emails."}},"required":["type","recipients"]}}},"name":"Create organization spend alert","id":"openai.create-organization-spend-alert","example":{"body":{"threshold_amount":1,"currency":"USD","interval":"month","notification_channel":{"type":"email","recipients":[]}}},"maxRequests":1,"summary":false}}