获取数据开发节点列表
AI agents call ListNodes to retrieve information from Alibabacloud Dataworks without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
Scene | string | — | 筛选条件:节点所在场景,如未指定则不填写,在数据开发中对应左侧目录树的分区可选值: - DataworksProject 项目目录- DataworksManualWorkflow 手动工作流 - DataworksManualTask 手动任务 |
PageSize | number | — | 每页显示的条数,默认为10条,最大100条 |
ProjectId | number | Yes | DataWorks工作空间的ID |
RerunMode | string | — | 重跑属性,如不指定则不填写。取值如下: - Allowed:运行成功或失败后皆可重跑。 - FailureAllowed:运行成功后不可重跑,运行失败后可以重跑。 - Denied:运行成功或失败皆不可重跑 |
PageNumber | number | — | 请求的数据页数,用于翻页 |
Recurrence | string | — | 筛选条件:调度类型可选值: - Normal:正常执行任务。- Pause:节点状态被置为暂停,并且会阻塞依赖当前节点的下游节点执行。 - Skip:节点状态被置为空跑,系统会直接返回成功(执行时长为0秒),不会阻塞下游节点执行,也不会占用资源 |
ContainerId | number | — | 如未指定则不填写,筛选条件:在指定容器内。填写容器ID,与资源组(ResourceGroupId)无关 |
Parameters from the server's own tool schema.
Even though ListNodes only reads data, uncontrolled read access leaks sensitive information and racks up API costs — an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Attacks that exploit this kind of access
获取数据开发节点列表. It is categorised as a Read tool in the Alibabacloud Dataworks MCP Server, which means it retrieves data without modifying state.
ListNodes accepts 7 parameters: Scene, PageSize, ProjectId, RerunMode, PageNumber, Recurrence, ContainerId. Required: ProjectId. The full parameter table on this page comes from the server's own tool schema.
Register the Alibabacloud Dataworks MCP server in PolicyLayer and add a rule for ListNodes: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Alibabacloud Dataworks. Nothing to install.
ListNodes is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the ListNodes rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ListNodes. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ListNodes is provided by the Alibabacloud Dataworks MCP server (alibabacloud-dataworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.