Get custom asset
get_custom_assetGet Asset
When to use: 에셋 하나를 고치거나 배포·복원하기 전에 현재 상태를 읽을 때 — 하위 파이프라인 목록과 draft_revision 을 함께 돌려준다.
Limitations: updated_at 은 에셋 행을 고칠 때(expected_updated_at), draft_revision 은 배포·복원할 때(expected_revision) 넘기는 토큰이다 — 쓰기 직전에 다시 읽어 최신 값을 쓴다. 파이프라인의 소스·스텝 상세는 get_custom_pipeline 으로 읽는다. 없는 id 면 404. 커스텀 에셋·파이프라인은 같은 소유자의 모든 프로젝트가 공유하며, 발행하면 그 프로젝트들 대시보드에도 반영된다.
Examples:
Q: 주문 보강 에셋의 파이프라인 구성 보여줘 params: {'path': {'asset_id': 12}}
Output shape: object: {id, name, status, active_version_id, updated_at, draft_revision, pipelines[{id, name, status, active_version_id, 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": {
"asset_id": "<asset_id>"
},
"name": "get_custom_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| project-id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||