{"name":"site_location_pages","title":"Создать страницы филиалов","section":"Контент и оформление","mode":"write","url":"/tools/site_location_pages","blurb":"Связывает постоянные страницы сайта с реальными точками компании.","aliases":"","kind":"Инструмент","examples":[{"label":"Рабочая задача","prompt":"Покажи доступные филиалы и подготовь страницу для выбранной точки с её фактическим адресом и часами работы.","check":"Связывает постоянные страницы сайта с реальными точками компании."},{"label":"Выбрать режим","prompt":"Для задачи «Создать страницы филиалов» сравни режимы contract и list инструмента site_location_pages. Какой подойдёт в моём случае и какие данные нужно подготовить?","check":"Сопоставить два режима и их аргументы."},{"label":"После сбоя","prompt":"При выполнении «Создать страницы филиалов» связь прервалась после отправки. Для site_location_pages проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.","check":"Сопоставить результат с исходной операцией."}],"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"operation":{"type":"string","const":"contract"},"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["operation","siteId"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"list"},"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"after":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":40}},"required":["operation","siteId","limit"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"save"},"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"establishmentId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"slug":{"type":"string","maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"translations":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":160},"summary":{"default":"","type":"string","maxLength":500},"body":{"default":"","type":"string","maxLength":20000}},"required":["title","summary","body"],"additionalProperties":false}},"bookingPath":{"default":"/booking","type":"string","maxLength":180,"pattern":"^\\/(?:[a-zA-Z0-9_-]+\\/?)*$"},"published":{"default":false,"type":"boolean"},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"}},"required":["operation","siteId","establishmentId","slug","translations","bookingPath","published","expectedRevision","idempotencyKey"],"additionalProperties":false}]},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}},"argumentExample":{"operation":"contract","siteId":"site_demo"}}