Skip to main content
Glama

codeartspipeline__UpdatePipelineInfo

Updates an existing CodeArts pipeline's configuration—including name, definition, sources, triggers, schedules, variables, and publish status—using its project and pipeline IDs.

Instructions

[CODEARTSPIPELINE] 修改流水线信息

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": {
      "definition": "<definition>",
      "is_publish": "<is_publish>",
      "name": "<name>",
      "pipeline_id": "<pipeline_id>",
      "project_id": "<project_id>"
    },
    "name": "codeartspipeline__UpdatePipelineInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo若为复制场景,则为原流水线ID
nameYes流水线名称
sourcesNo流水线源
group_idNo流水线组ID
triggersNo流水线代码事件触发配置
schedulesNo流水线定时执行配置
variablesNo流水线自定义全局变量
definitionYes流水线结构定义
is_publishYes是否为发布流水线
project_idYes项目ID
componentIdNo微服务ID
descriptionNo流水线描述
pipeline_idYes流水线ID
project_nameNo项目名称
manifest_versionNo流水线结构定义版本,新版默认为3.0
concurrency_controlNo流水线并发管理

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing beyond the word 'modify'. It does not state whether this is a full replacement or a partial update, although the five required fields, definition and is_publish among them, suggest a whole-object update; nor does it cover whether omitted nested collections such as triggers, schedules, or variables are cleared, whether changes are reversible, or what permissions are required. For a 16-parameter mutation with nested objects, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single bilingual tag plus five words, with no filler and the resource front-loaded. Its brevity is not wasteful but it is disproportionately thin for a complex mutation tool, so it fails on appropriateness of size rather than on verbosity. The bracketed service prefix is a mild formatting convention that does not add meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 16 parameters, 5 required, deeply nested objects, no annotations, and no output schema, the description should explain what is updated, what the required fields imply, and what the caller gets back or what risks it runs. None of that is present, so only the parameter documentation from the schema fills the gap. For a tool of this complexity, the description is not adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with every parameter, including nested ones, documented in the schema, so this dimension's requirement is already met without the description. The description adds no meaning beyond the schema: it does not clarify required parameters or the copy-scenario id, or the interplay between definition and manifest_version. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a verb (修改) and a resource (流水线信息), so an agent can tell this is the pipeline-update operation rather than a template, group, or plugin update. However, it never says which parts of the pipeline can be modified, even though the schema exposes name, sources, triggers, schedules, variables, definition, concurrency control, and more. The purpose is stated only at the vaguest possible level.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisite such as the pipeline existing or the required permissions, and no mention of alternatives. Sibling tools such as codeartspipeline__UpdatePipelineTemplate, codeartspipeline__UpdatePipelineGroup, and codeartspipeline__CreatePipelineNew are not distinguished from this one. The agent must infer call conditions entirely from the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools