Create custom asset
create_custom_assetCreate Asset
When to use: 사용자가 새 커스텀 에셋(파이프라인 결과를 담을 테이블)을 만들어 달라고 명시적으로 요청할 때.
When NOT to use: 사용자가 명시적으로 만들기·수정·배포를 요청하지 않았으면 호출하지 않는다 — 분석 질문에 답하려고 에셋·파이프라인·소스·스텝을 만들거나 고치지 않는다. 이미 있는 에셋을 고치려면 update_custom_asset 을 쓴다. 다른 프로젝트를 지정할 수 없다.
Limitations: 초안(DRAFT)으로만 만든다 — 배포는 publish_custom_asset 으로 한다. table_name 은 결과 테이블 이름(영문·숫자·밑줄)이다. 만든 뒤 create_custom_pipeline 으로 채울 파이프라인을 만든다. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.
Examples:
Q: 브랜드 수수료를 붙인 주문 보강 에셋 새로 만들어줘 params: {'body': {'name': '주문 보강', 'table_name': 'order_enriched', 'description': '주문에 브랜드 수수료율을 붙인 테이블'}}
Output shape: object: {id, name, status, active_version_id, table_name, updated_at, ...}
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": {
"name": "<name>",
"table_name": "<table_name>"
},
"name": "create_custom_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| grain | No | ||
| owner | No | ||
| asset_type | No | TABLE | |
| project-id | No | ||
| table_name | Yes | ||
| description | No | ||
| schema_name | No | analytics | |
| partition_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||