CreateResource
Create data development file resources in DataWorks workspaces by specifying FlowSpec information and providing file content or OSS download links.
Instructions
创建数据开发文件资源
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": {
"Spec": "<Spec>"
},
"name": "CreateResource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ProjectId | No | DataWorks工作空间的ID | |
| Spec | Yes | 描述这个资源文件的FlowSpec信息 | |
| ResourceFile | No | 资源包含的具体的文件流或OSS下载链接。><notice>该字段允许用户填写文件流或OSS下载链接。当填写OSS下载链接时,请确保该OSS链接可被公开访问。推荐提供预签名URL。></notice> |