Skip to content
Connect an agent

Automation

set_variable

Set a workspace variable. Sets the value of a {{name}} placeholder for new posts.

TL;DR

QuestionAnswer
What does it do?Sets the value of a {{name}} placeholder for new posts.
Does it change anything?Changes something; safe to repeat.
Which endpoint does it call?PUT /v1/variables/{name}
Which server?https://mcp.flung.dev/mcp-oauth (sign in) or https://mcp.flung.dev/mcp (API key).

Arguments

ArgumentTypeRequiredDescription
namestringyespattern ^[A-Za-z][A-Za-z0-9_]{0,39}$.
valuestringyesat most 2000 characters.

Example call

json
{  "name": "set_variable",  "arguments": {    "name": "brand",    "value": "Flung"  }}

Things a person might say

  • "Set our hashtag variable to #flung."

Annotations

HintValue
readOnlyHintfalse
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse

See also

DocWhy
MCP toolsEvery tool
Connect an AI agentInstall the server in your client
PUT /v1/variables/{name}The same operation over HTTP