{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates the specified fields of a custom provider pricing rule. Changes clear cached costs for the matched model.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["3ebbcb006d4d46d7bb6a8c7f14676cb0"]},"id":{"type":"string","format":"uuid"}},"required":["account_id","id"],"additionalProperties":false},"body":{"type":"object","properties":{"cost_in":{"type":"number"},"cost_out":{"type":"number"},"cost_type":{"type":"string","default":"tokens"},"enable":{"type":"boolean"},"model":{"type":"string"},"model_rule":{"type":"string","default":"equals","enum":["equals","starts-with","contains"]},"token_pricing":{"type":"object","properties":{"input_audio_tokens":{"type":"number"},"input_cache_creation_tokens":{"type":"number"},"input_cached_tokens":{"type":"number"},"input_image_count":{"type":"number"},"input_image_tokens":{"type":"number"},"input_text_tokens":{"type":"number"},"input_tokens":{"type":"number"},"input_video_tokens":{"type":"number"},"output_image_count":{"type":"number"},"output_reasoning_tokens":{"type":"number"},"output_tokens":{"type":"number"},"total_tokens":{"type":"number"}}}}}},"required":["path"],"additionalProperties":false},"name":"Update a custom provider pricing rule","id":"cloudflare.aig-config-update-account-provider-cost","example":{"path":{"account_id":"3ebbcb006d4d46d7bb6a8c7f14676cb0","id":"00000000-0000-4000-8000-000000000000"}},"maxRequests":1,"summary":false}}