@renanlido/tia-openness-mcp 1.10.1 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36805,8 +36805,8 @@ function registerAuthoringTools(server) {
|
|
|
36805
36805
|
inputSchema: {
|
|
36806
36806
|
device: external_exports.string().describe("target device name"),
|
|
36807
36807
|
typeIdentifier: external_exports.string().describe("OrderNumber:<MLFB>/V<fw> of the module (Gd5)"),
|
|
36808
|
-
name: external_exports.string().optional().describe("name of the plugged module"),
|
|
36809
|
-
position: external_exports.number().int().optional().describe("slot/position (default:
|
|
36808
|
+
name: external_exports.string().optional().describe("name of the plugged module (default: Module_<position>)"),
|
|
36809
|
+
position: external_exports.number().int().optional().describe("slot/position (default: the first free position of the host that accepts the module)"),
|
|
36810
36810
|
host: external_exports.string().optional().describe("device item host (rack/rail), if applicable"),
|
|
36811
36811
|
...dryRunField
|
|
36812
36812
|
}
|
|
@@ -37128,11 +37128,11 @@ function registerAuthoringTools(server) {
|
|
|
37128
37128
|
"tia_fb_create",
|
|
37129
37129
|
{
|
|
37130
37130
|
title: "TIA \u2014 create FB",
|
|
37131
|
-
description: "Creates
|
|
37131
|
+
description: "Creates an EMPTY Function Block (empty interface, no logic) by importing a minimal SimaticML skeleton. Supported languages: SCL (the default when `language` is omitted), LAD, FBD, STL or ProDiag, in any case; any other value is refused with 400 bad_request listing them, and a CPU family can still refuse one it does not support. Gd6: for LOGIC use a textual language (SCL) via tia_source_put, or graphical (LAD/FBD) via tia_import_xml. Refused with 409 name_collision (details.collidesWith = the colliding tag, constant or block) when the name matches, ignoring case, any tag, constant or block of the PLC. Maps to POST /plcs/{plc}/fbs. M-off.",
|
|
37132
37132
|
inputSchema: {
|
|
37133
37133
|
plc: external_exports.string().describe("PLC name"),
|
|
37134
37134
|
name: external_exports.string().describe("FB name"),
|
|
37135
|
-
language: external_exports.string().optional().describe("
|
|
37135
|
+
language: external_exports.string().optional().describe("SCL (default when omitted), LAD, FBD, STL or ProDiag; any case"),
|
|
37136
37136
|
autoNumber: external_exports.boolean().optional().describe("accepted for compatibility and ignored: without 'number' the serve picks the number itself"),
|
|
37137
37137
|
number: external_exports.number().int().optional().describe("block number \u22651, used as given (a number another FB holds is refused by TIA); omitted or 0 \u21D2 the serve picks the lowest free number from 1 in the FB family (409 block_number_exhausted when none is free)"),
|
|
37138
37138
|
group: external_exports.string().optional().describe("target block group"),
|
|
@@ -39703,7 +39703,7 @@ function buildServer(mode, version2, budget = resolveBudget()) {
|
|
|
39703
39703
|
}
|
|
39704
39704
|
|
|
39705
39705
|
// src/index.ts
|
|
39706
|
-
var VERSION = "1.10.
|
|
39706
|
+
var VERSION = "1.10.3";
|
|
39707
39707
|
async function main() {
|
|
39708
39708
|
if (process.argv.slice(2).some((a) => a === "--version" || a === "-v")) {
|
|
39709
39709
|
console.log(VERSION);
|
package/package.json
CHANGED