{"functions":[{"name":"catalogiPrepareBasket","description":"Подготовить расчёт и персональную корзину Catalogi по подтверждённым данным точного варианта товара. Не выдумывайте цену, наличие, источники или доставку. Если фактов нет, предложите https://catalogi.ru/ai-shopping/. Вызов создаёт корзину, но не заказ и не оплату. Финальную цену и ссылку берите только из результата сервера.","parameters":{"type":"object","additionalProperties":false,"required":["version","items"],"properties":{"version":{"type":"integer","const":1},"items":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","additionalProperties":false,"required":["url","name"],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"HTTPS exact active-store host, preserve variant query."},"name":{"type":"string","minLength":1,"maxLength":240},"size":{"type":"string","maxLength":80,"description":"Required for creation. Use literal string 0 when product has no size choice. Missing or empty requires supplementation."},"color":{"type":"string","maxLength":80},"sku":{"type":"string","maxLength":120},"quantity":{"type":"integer","minimum":1,"maximum":10,"default":1},"image_url":{"type":["string","null"],"format":"uri","maxLength":2048,"description":"Primary HTTPS photo URL, mutually exclusive with image_base64."},"image_base64":{"type":["string","null"],"minLength":4,"maxLength":699052,"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","description":"Standard base64 JPEG/PNG/WebP up to 512 KiB decoded; no data URI or personal data."},"category":{"anyOf":[{"type":"object","additionalProperties":false,"required":["value","source_url","observed_at","basis"],"properties":{"value":{"type":"string","enum":["clothing","footwear","other"],"description":"One garment, one pair, or other including sets. Evidence from taxonomy/description or user_supplied; never name-only inference."},"source_url":{"type":"string","format":"uri","maxLength":2048,"description":"HTTPS; same host as item URL."},"observed_at":{"type":"integer","minimum":0,"description":"Unix seconds; refresh after 900 seconds."},"basis":{"type":"string","enum":["observed","user_supplied"]}}},{"type":"null"}]},"price":{"anyOf":[{"type":"object","additionalProperties":false,"required":["value","source_url","observed_at","basis","currency"],"properties":{"value":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,5})\\.[0-9]{2}$","not":{"const":"0.00"}},"source_url":{"type":"string","format":"uri","maxLength":2048,"description":"HTTPS; same host as item URL."},"observed_at":{"type":"integer","minimum":0,"description":"Unix seconds; refresh after 900 seconds."},"basis":{"type":"string","enum":["observed","user_supplied"]},"currency":{"type":"string","const":"EUR"}}},{"type":"null"}]},"availability":{"anyOf":[{"type":"object","additionalProperties":false,"required":["value","source_url","observed_at","basis"],"properties":{"value":{"type":"boolean"},"source_url":{"type":"string","format":"uri","maxLength":2048,"description":"HTTPS; same host as item URL."},"observed_at":{"type":"integer","minimum":0,"description":"Unix seconds; refresh after 900 seconds."},"basis":{"type":"string","enum":["observed","user_supplied"]}}},{"type":"null"}]},"delivery_to_germany":{"anyOf":[{"type":"object","additionalProperties":false,"required":["value","source_url","observed_at","basis"],"properties":{"value":{"type":"boolean"},"source_url":{"type":"string","format":"uri","maxLength":2048,"description":"HTTPS; same host as item URL."},"observed_at":{"type":"integer","minimum":0,"description":"Unix seconds; refresh after 900 seconds."},"basis":{"type":"string","enum":["observed","user_supplied"]}}},{"type":"null"}]}}}},"destination":{"anyOf":[{"type":"object","additionalProperties":false,"required":["country","cdek_city_code","method"],"properties":{"country":{"type":"string","const":"RU"},"cdek_city_code":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"method":{"type":"string","enum":["pickup","postamat","courier"]}}},{"type":"null"}]}}}}],"setup_status":"requires_own_gigachat_application","provider_schema_validation":"pending_authenticated_functions_validate","executor":"tests/ai-shopping/gigachat-tool.mjs","endpoint":"https://catalogi.ru/ai-shopping/"}