Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Atomic schematic batch write

easyeda_schematic_batch_write
Destructive

Apply up to 200 validated schematic edits—create, modify, set pin no-connect, or delete safely recreatable primitives—in one snapshot-backed transaction that rolls back on any failure.

Instructions

Apply up to 200 validated schematic create, modify, pin no-connect, and delete operations in one snapshot-backed transaction. Any failure rolls the whole transaction back. Delete is limited to safely recreatable drawing primitives.

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": {
      "projectId": "<projectId>",
      "operations": "<operations>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_schematic_batch_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
atomicNo
dryRunNo
projectIdYes
operationsYes
confirmWriteYes
transactionIdNo
expectedPcbUuidNoExpected focused PCB document UUID; reject a different focused PCB before a write.
expectedSchematicPageUuidNoExpected focused schematic page UUID; reject a different focused page before a write.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.10
    • addedInput schema / properties / expectedPcbUuid
      Added value: +{
      +  "description": "Expected focused PCB document UUID; reject a different focused PCB before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / expectedSchematicPageUuid
      Added value: +{
      +  "description": "Expected focused schematic page UUID; reject a different focused page before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / operations / items / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "addIntoBom": {
      -            "type": "boolean"
      -          },
      -          "addIntoPcb": {
      -            "type": "boolean"
      -          },
      -          "deviceItem": {
      -            "additionalProperties": {},
      -            "properties": {
      -              "libraryUuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "uuid": {
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "libraryUuid",
      -              "uuid"
      -            ],
      -            "type": "object"
      -          },
      -          "mirror": {
      -            "type": "boolean"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "component",
      -            "type": "string"
      -          },
      -          "rotation": {
      -            "type": "number"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "deviceItem",
      -          "x",
      -          "y"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "color": {
      -            "type": "string"
      -          },
      -          "lineType": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "lineWidth": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "netName": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "points": {
      -            "items": {
      -              "properties": {
      -                "x": {
      -                  "type": "number"
      -                },
      -                "y": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "x",
      -                "y"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 500,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          "primitiveKind": {
      -            "const": "wire",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "points",
      -          "netName"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "alignMode": {
      -            "maximum": 9,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "bold": {
      -            "type": "boolean"
      -          },
      -          "color": {
      -            "type": "string"
      -          },
      -          "content": {
      -            "maxLength": 10000,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "fontName": {
      -            "type": "string"
      -          },
      -          "fontSize": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "italic": {
      -            "type": "boolean"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "text",
      -            "type": "string"
      -          },
      -          "rotation": {
      -            "type": "number"
      -          },
      -          "underline": {
      -            "type": "boolean"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "x",
      -          "y",
      -          "content"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "color": {
      -            "type": "string"
      -          },
      -          "cornerRadius": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "fillColor": {
      -            "type": "string"
      -          },
      -          "fillStyle": {
      -            "type": "string"
      -          },
      -          "height": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "lineType": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "lineWidth": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "rectangle",
      -            "type": "string"
      -          },
      -          "rotation": {
      -            "type": "number"
      -          },
      -          "width": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "x",
      -          "y",
      -          "width",
      -          "height"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "centerX": {
      -            "type": "number"
      -          },
      -          "centerY": {
      -            "type": "number"
      -          },
      -          "color": {
      -            "type": "string"
      -          },
      -          "fillColor": {
      -            "type": "string"
      -          },
      -          "fillStyle": {
      -            "type": "string"
      -          },
      -          "lineType": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "lineWidth": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "circle",
      -            "type": "string"
      -          },
      -          "radius": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "centerX",
      -          "centerY",
      -          "radius"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "color": {
      -            "type": "string"
      -          },
      -          "fillColor": {
      -            "type": "string"
      -          },
      -          "lineType": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "lineWidth": {
      -            "exclusiveMinimum": 0,
      -            "type": "number"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "points": {
      -            "items": {
      -              "properties": {
      -                "x": {
      -                  "type": "number"
      -                },
      -                "y": {
      -                  "type": "number"
      -                }
      -              },
      -              "required": [
      -                "x",
      -                "y"
      -              ],
      -              "type": "object"
      -            },
      -            "maxItems": 500,
      -            "minItems": 3,
      -            "type": "array"
      -          },
      -          "primitiveKind": {
      -            "const": "polygon",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "points"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "identification": {
      -            "enum": [
      -              "Power",
      -              "Ground",
      -              "AnalogGround",
      -              "ProtectGround"
      -            ],
      -            "type": "string"
      -          },
      -          "netName": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "netflag",
      -            "type": "string"
      -          },
      -          "rotation": {
      -            "type": "number"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "netName",
      -          "x",
      -          "y",
      -          "identification"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "action": {
      -            "const": "create",
      -            "type": "string"
      -          },
      -          "netName": {
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "operationId": {
      -            "maxLength": 120,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "portType": {
      -            "enum": [
      -              "input",
      -              "output",
      -              "bidirectional",
      -              "triState",
      -              "passive"
      -            ],
      -            "type": "string"
      -          },
      -          "primitiveKind": {
      -            "const": "netport",
      -            "type": "string"
      -          },
      -          "rotation": {
      -            "type": "number"
      -          },
      -          "x": {
      -            "type": "number"
      -          },
      -          "y": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "operationId",
      -          "action",
      -          "primitiveKind",
      -          "netName",
      -          "x",
      -          "y"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "modify",
      -        "type": "string"
      -      },
      -      "operationId": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "primitiveId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "property": {
      -        "additionalProperties": {},
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "operationId",
      -      "action",
      -      "primitiveId",
      -      "property"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "delete",
      -        "type": "string"
      -      },
      -      "operationId": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "primitiveId": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operationId",
      -      "action",
      -      "primitiveId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "addIntoBom": {
      +            "type": "boolean"
      +          },
      +          "addIntoPcb": {
      +            "type": "boolean"
      +          },
      +          "deviceItem": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "libraryUuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "uuid": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "libraryUuid",
      +              "uuid"
      +            ],
      +            "type": "object"
      +          },
      +          "mirror": {
      +            "type": "boolean"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "component",
      +            "type": "string"
      +          },
      +          "rotation": {
      +            "type": "number"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "deviceItem",
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "color": {
      +            "type": "string"
      +          },
      +          "lineType": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lineWidth": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "netName": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "points": {
      +            "items": {
      +              "properties": {
      +                "x": {
      +                  "type": "number"
      +                },
      +                "y": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "x",
      +                "y"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 500,
      +            "minItems": 2,
      +            "type": "array"
      +          },
      +          "primitiveKind": {
      +            "const": "wire",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "points",
      +          "netName"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "alignMode": {
      +            "maximum": 9,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "bold": {
      +            "type": "boolean"
      +          },
      +          "color": {
      +            "type": "string"
      +          },
      +          "content": {
      +            "maxLength": 10000,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "fontName": {
      +            "type": "string"
      +          },
      +          "fontSize": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "italic": {
      +            "type": "boolean"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "text",
      +            "type": "string"
      +          },
      +          "rotation": {
      +            "type": "number"
      +          },
      +          "underline": {
      +            "type": "boolean"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "x",
      +          "y",
      +          "content"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "color": {
      +            "type": "string"
      +          },
      +          "cornerRadius": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "fillColor": {
      +            "type": "string"
      +          },
      +          "fillStyle": {
      +            "type": "string"
      +          },
      +          "height": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "lineType": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lineWidth": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "rectangle",
      +            "type": "string"
      +          },
      +          "rotation": {
      +            "type": "number"
      +          },
      +          "width": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "x",
      +          "y",
      +          "width",
      +          "height"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "centerX": {
      +            "type": "number"
      +          },
      +          "centerY": {
      +            "type": "number"
      +          },
      +          "color": {
      +            "type": "string"
      +          },
      +          "fillColor": {
      +            "type": "string"
      +          },
      +          "fillStyle": {
      +            "type": "string"
      +          },
      +          "lineType": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lineWidth": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "circle",
      +            "type": "string"
      +          },
      +          "radius": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "centerX",
      +          "centerY",
      +          "radius"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "color": {
      +            "type": "string"
      +          },
      +          "fillColor": {
      +            "type": "string"
      +          },
      +          "lineType": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lineWidth": {
      +            "exclusiveMinimum": 0,
      +            "type": "number"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "points": {
      +            "items": {
      +              "properties": {
      +                "x": {
      +                  "type": "number"
      +                },
      +                "y": {
      +                  "type": "number"
      +                }
      +              },
      +              "required": [
      +                "x",
      +                "y"
      +              ],
      +              "type": "object"
      +            },
      +            "maxItems": 500,
      +            "minItems": 3,
      +            "type": "array"
      +          },
      +          "primitiveKind": {
      +            "const": "polygon",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "points"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "identification": {
      +            "enum": [
      +              "Power",
      +              "Ground",
      +              "AnalogGround",
      +              "ProtectGround"
      +            ],
      +            "type": "string"
      +          },
      +          "netName": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "netflag",
      +            "type": "string"
      +          },
      +          "rotation": {
      +            "type": "number"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "netName",
      +          "x",
      +          "y",
      +          "identification"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "properties": {
      +          "action": {
      +            "const": "create",
      +            "type": "string"
      +          },
      +          "netName": {
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "operationId": {
      +            "maxLength": 120,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "portType": {
      +            "enum": [
      +              "input",
      +              "output",
      +              "bidirectional",
      +              "triState",
      +              "passive"
      +            ],
      +            "type": "string"
      +          },
      +          "primitiveKind": {
      +            "const": "netport",
      +            "type": "string"
      +          },
      +          "rotation": {
      +            "type": "number"
      +          },
      +          "x": {
      +            "type": "number"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "operationId",
      +          "action",
      +          "primitiveKind",
      +          "netName",
      +          "x",
      +          "y"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "modify",
      +        "type": "string"
      +      },
      +      "operationId": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "primitiveId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "property": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "operationId",
      +      "action",
      +      "primitiveId",
      +      "property"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "setPinNoConnect",
      +        "type": "string"
      +      },
      +      "noConnected": {
      +        "default": true,
      +        "type": "boolean"
      +      },
      +      "operationId": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "pinNumber": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "primitiveId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operationId",
      +      "action",
      +      "primitiveId",
      +      "pinNumber"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "delete",
      +        "type": "string"
      +      },
      +      "operationId": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "primitiveId": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operationId",
      +      "action",
      +      "primitiveId"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Addedv0.19.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds genuinely new behavior: the transaction is snapshot-backed, any single failure rolls back the entire batch, inputs are validated, and delete is restricted to 'safely recreatable drawing primitives'. What it does not disclose is the confirmWrite gate, the meaning of transactionId for retries, or permission requirements around a destructive write.

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

Conciseness4/5

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

Three tight sentences, front-loaded with the core action and the operation limit, then the rollback guarantee, then the delete constraint. Minor deduction for 'safely recreatable drawing primitives', which is evocative but undefined and leaves the agent guessing which primitives qualify for deletion.

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

Completeness3/5

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

Annotations cover the safety profile and an output schema exists, so return values need not be described. For a destructive 8-parameter transactional tool, though, the description omits the dryRun/confirmWrite gate, retry semantics via transactionId, and whether operations within a batch can reference primitives created earlier in the same batch — all material to calling it correctly.

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?

With schema description coverage at 25%, the description must carry weight; it partially does by enumerating the operation classes in the operations array and stating the 200-item cap. It says nothing about dryRun (default false, so an agent may write unintentionally), the const-required confirmWrite/atomic flags, transactionId, or whether operations execute in array order with inter-operation dependencies.

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

Purpose5/5

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

States a specific verb and resource ('Apply ... schematic ... operations') plus the scope that defines it: a single snapshot-backed transaction of up to 200 operations across create, modify, pin no-connect, and delete. The 'batch'/'atomic' framing makes it immediately distinguishable from the singular siblings such as easyeda_schematic_add_wire or easyeda_schematic_delete_primitive.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the 200-operation cap and all-or-nothing rollback signal this is for multi-primitive changes that should succeed or fail together, which implicitly argues against calling the singular add/delete tools in a loop. However, there is no explicit 'use X instead when' clause, no guidance on when a single-op sibling is preferable, and no mention of the available dryRun path.

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