Export matching tabs to Google Sheets
export_sheet_matching_tabsExport Sheet Source
When to use: 고객 스프레드시트의 '미매칭 옵션'·'기초 상품' 탭을 지금 데이터로 다시 쓸 때 — 아직 매칭되지 않은 옵션과 기초 상품 목록을 보고 매칭 입력 탭을 채우게 하려는 경우.
When NOT to use: 마지막 내보내기 결과만 보려면 list_sheet_matching_sources 의 last_export 를 본다.
Limitations: ⚠️ 고객 시트의 두 탭을 통째로 덮어쓴다(매칭 입력 탭은 건드리지 않는다). 마트 갱신 뒤에는 자동으로 돌므로 보통은 부를 필요가 없다. 마지막 내보내기(마트 갱신 뒤 자동 실행 포함)가 성공한 뒤 5분 안에 다시 부르면 429 (retry_after_seconds 만큼 기다린다), 실행 중이면 409. 결과는 last_export 에 남는다 — FAILED 면 error 에 고객이 할 일이 있다. data_management:write 와 기초 상품 읽기 권한 필요.
Examples:
Q: 시트에 미매칭 옵션 목록 다시 내보내줘 params: {'path': {'data_id': 1}}
Output shape: object: {data_id, sheet, last_export{state, trigger, started_at, finished_at, unmatched_options, base_products, error}, …}
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": "export_sheet_matching_tabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | ||
| project-id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||