Update landing page URL mappings
update_url_mappingsUpdate Url Mappings
When to use: 광고 랜딩 URL → 쇼핑몰(shop) 매핑을 저장할 때. 소재 조건이 아니라 도착 URL 의 base_url 로 어느 shop 의 광고인지 판별하는 경로다.
When NOT to use: 소재명·캠페인명 조건으로 잡으려면 URL 매핑이 아니라 광고 매칭 규칙 도구(create_ad_mapping_rule·update_ad_rule_mapping)를 쓴다. 특정 소재를 특정 상품에 붙이는 것은 update_ad_relation 이다 — 이 tool 은 shop 단위까지만 판별한다. 삭제는 delete_url_mappings.
Limitations: 🔴 상품(product) 매핑이 아니라 shop 매핑이다. body 항목은 {base_url, shop_id} 둘뿐이며 product_id 같은 필드는 받지 않는다(UpdateAdUrlMappingReq). URL 로 상품까지 특정하려는 의도라면 이 tool 로는 불가능하다. create-or-replace — 같은 base_url 의 기존 매핑을 덮어쓴다. 현재 등록된 base_url 은 MCP 도구로 조회할 수 없어 라플라스 웹 「광고 매칭」 화면에서 매칭 유형이 URL 매칭인 항목으로 확인하고, shop_id 는 상품/샵 조회 계열로 확인한 뒤 넘긴다. data_management:write 권한 필요. url_mapping 스코프 감사 이벤트로 기록되므로 복원 가능하다.
Examples:
Q: 이 랜딩 URL 로 들어오는 광고는 '브랜드A 스토어' 광고로 잡아줘 params: {'body': [{'base_url': 'https://shop.example.com', 'shop_id': 1}]}
Output shape: no content (성공 시 body 없음)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "update_url_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| project-id | No | ||
| auth_method | No | jwt |