Recalculate ad matching results
refresh_ad_relationRefresh Ad Relation
When to use: 광고 매칭 규칙을 고친 뒤 그 결과를 파생 테이블(commerce_union_ad_relation)에 반영해 화면 수치를 갱신할 때.
When NOT to use: 규칙을 고치지 않았다면 호출할 이유가 없다(비싼 no-op). 개별 연결만 바꿨다면 delete_ad_relation 이 재계산을 이미 자동 트리거한다.
Limitations: ⚠️ 되돌릴 수 없다 — 파생 테이블 재계산이라 데이터 관리 이력·복원 지점의 대상이 아니다: 이력에 남지 않으며 복원 지점으로 돌아갈 수도 없다(원본인 광고 소재↔상품 연결(ad_relation) 자체는 그것을 고치는 각 도구가 따로 이력에 남긴다). 전체 재계산이라 무겁다 — 규칙을 여러 개 고칠 거면 마지막에 한 번만 호출한다. force=true 는 캐시를 무시하고 강제 재계산한다. data_management:write 권한 필요.
Examples:
Q: 광고 규칙 바꾼 거 이제 반영해줘 params: {'query': {'force': False}}
Output shape: no content (성공 시 body 없음)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "refresh_ad_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| project-id | No |