Preview Google Sheets product matching
preview_sheet_matchingPreview Sheet Source
When to use: Google Sheets 의 매칭 입력 탭을 지금 다시 읽어, 적용하면 상품 매칭이 어떻게 바뀌는지(추가·변경·해제 옵션 수, 검증 탈락 사유) 미리 볼 때. 시트를 고친 뒤 반영하려면 이 tool 로 미리보기를 만들고, 돌려받은 last_run.run_id 로 apply_sheet_matching 을 부른다.
When NOT to use: 결과만 다시 보려면 list_sheet_matching_sources 의 last_run 을 본다 — 미리보기는 시트를 새로 읽는다.
Limitations: 반영분은 바꾸지 않는다 — 적용은 별도 도구 apply_sheet_matching 이다. 한 옵션의 구성 행 중 하나라도 검증에 탈락하면 그 옵션 전체가 반영 예정에서 빠진다. 계산 중이거나 오류인 셀(#N/A · #REF! · Loading... 등)이 있는 옵션은 탈락시키지 않고 보류해 지금 반영분을 유지한다(last_run.held_options, 사유 코드 CELL_PENDING · OPTION_HELD_BY_SIBLING). 시트를 읽지 못하면 실패로 남고 반영분은 그대로다. 이미 실행 중이면 409. 2,000행 기준 15초 안팎 걸린다. data_management:write 권한 필요.
Examples:
Q: 시트 매칭 입력 탭을 다시 읽어서 뭐가 바뀌는지 보여줘 params: {'path': {'data_id': 1}}
Output shape: object: {data_id, sheet, last_run{run_id, state, changes{added, modified, removed, unchanged, manual_override}, accepted_options, rejected_options, held_options, reason_counts, error}, has_pending_changes, preview_stale, union_pending, enabled, restorable}
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": {
"data_id": "<data_id>"
},
"name": "preview_sheet_matching"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | ||
| project-id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||