Home / Servers / Linode API / put_stack_script

Update a StackScript

An MCP tool from the Linode API server, hosted on mcp.hjlabs.in.

Update a StackScript Updates a StackScript. __Once a StackScript is made public, it cannot be made private.__ > --- - __CLI__. linode-cli stackscripts update 10079 \ --label a-stackscript \ --description "This… [PUT /v4/linode/stackscripts/{stackscriptId}]

Name on the gateway: linode_api__put_stack_script · may change things.

Parameters

NameTypeDescription
stackscriptId requiredstringThe ID of the StackScript to look up.
createdstring__Read-only__ The date this StackScript was created.
deployments_activeinteger__Read-only__ Count of currently active, deployed Linodes created from this…
deployments_totalinteger__Filterable__, __Read-only__ The total number of times this StackScript has…
descriptionstring__Filterable__ A description for the StackScript.
idinteger__Read-only__ The unique ID of this StackScript.
imagesarrayAn array of Image IDs. These are the Images that can be deployed with this…
is_publicboolean__Filterable__ This determines whether other users can use your StackScript.…
labelstring__Filterable__ The StackScript's label is for display purposes only.
mineboolean__Filterable__, __Read-only__ Returns true if this StackScript is owned by the…
rev_notestring__Filterable__ This field allows you to add notes for the set of revisions…
scriptstringThe script to execute when provisioning a new Linode with this StackScript.
updatedstring__Read-only__ The date this StackScript was last updated.
user_defined_fieldsarray__Read-only__ This is a list of fields defined with a special syntax inside…
user_gravatar_idstring__Read-only__ The Gravatar ID for the User who created the StackScript.
usernamestring__Read-only__ The User who created the StackScript.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "linode_api__put_stack_script",
  "arguments": {
    "stackscriptId": "…"
  }
}

Or connect the Linode API server directly, which lists 439 tools including this one:

Run in your terminal
claude mcp add --transport http hj-linode-api https://mcp.hjlabs.in/mcp/linode-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update a stackscript tool with stackscriptId set to ….

More from Linode API