Unpublish custom asset
unpublish_custom_assetUnpublish Asset
When to use: 사용자가 에셋의 마트 갱신을 멈춰 달라고(발행 취소) 명시적으로 요청할 때 — 확인받은 뒤에만 실행한다.
When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. 이전 배포 버전으로 되돌리려면 rollback_custom_asset 을 쓴다. 삭제는 지원하지 않는다 — 웹의 온톨로지 편집 화면에서 한다.
Limitations: 다음 스냅샷 업로드부터 마트 갱신만 멈춘다 — 배포 버전·파이프라인 정의·이미 만든 테이블은 남고, 차트는 마지막 값에서 멈춘 채 그대로 보인다. 다시 배포하면 복귀한다. 이 에셋을 최상위 source_asset_id 로 가리키는 소스가 있는 다른 파이프라인이 있거나 조회 시점(실시간) 에셋이면 409 다. 이 tool 에는 강제 진행 옵션이 없다 — 409 로 막히면 이유를 사용자에게 설명하고 웹의 온톨로지 편집 화면에서 처리하도록 안내한다. 이미 발행 취소된 에셋이면 아무것도 하지 않는다(was_published=false). 먼저 조회 tool 로 대상을 읽고 그 updated_at 을 expected_updated_at 으로 넘긴다. 409 면 그 사이 다른 사람이 바꾼 것이다 — 다시 읽어 바뀐 내용을 사용자에게 보여 주고 확인받은 뒤 다시 시도한다. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.
Examples:
Q: 주문 보강 에셋 발행 취소해줘 params: {'path': {'asset_id': 12}, 'query': {'expected_updated_at': '2026-10-13T10:00:00'}}
Output shape: object: {asset_id, was_published, unpublished_pipeline_ids[]}
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": {
"asset_id": "<asset_id>",
"expected_updated_at": "<expected_updated_at>"
},
"name": "unpublish_custom_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| project-id | No | ||
| expected_updated_at | Yes | Concurrency token — the `updated_at` this client last read for the entity. When it no longer matches the stored value the request is rejected with 409 instead of silently overwriting another session's edit. Omit to keep the legacy last-write-wins behaviour. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||