{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates or updates an indexed item in an AI Search instance.","properties":{"path":{"type":"object","properties":{"id":{"description":"AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.","type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9_]+(?:-[a-z0-9_]+)*$","examples":["my-ai-search"]},"account_id":{"type":"string","examples":["c3dc5f0b34a14ff8e1b3ec04895e1b22"]},"namespace":{"type":"string","default":"default","examples":["my-namespace"],"description":"Namespace name."}},"required":["id","account_id","namespace"],"additionalProperties":false},"body":{"type":"object","properties":{"key":{"description":"Item key / filename. Must not exceed 128 characters.","type":"string"},"next_action":{"type":"string","enum":["INDEX"]},"wait_for_completion":{"description":"Wait for indexing before responding. After processing, vector-indexed instances use any time remaining in a 25s wait budget to confirm Vectorize ingestion. Processing itself continues uninterrupted and can exceed that budget. If confirmation times out, the response returns the current item state and background indexing continues. Defaults to false.","type":"boolean","default":false}},"required":["key","next_action"]}},"required":["path"],"additionalProperties":false},"name":"Create or Update Item.","id":"cloudflare.ai-search-namespace-instance-create-or-update-item","example":{"path":{"id":"my-ai-search","account_id":"c3dc5f0b34a14ff8e1b3ec04895e1b22","namespace":"my-namespace"}},"maxRequests":1,"summary":false}}