create_agent_variable
Add configurable variables to a Convocore agent, including environment-backed secrets hidden from the model and referenced in requests as {{var:VARIABLE_ID}}.
Instructions
Add a variable to a Convocore agent. Typical fields: key, type, defaultValue, description, in (body|query|header|path), required, isEnv, isGlobal. AI inputs: the model fills them; list their ids in a tool variablesIds. An optional input that is not filled sends its defaultValue. Environment variables (isEnv: true) hold fixed config/secrets: the value is stored in defaultValue, is never shown to the model, and is referenced in a tool request as {{var:VARIABLE_ID}} — do not add them to variablesIds. To keep a secret out of this chat, create it with a placeholder defaultValue and have the owner enter the real value in the dashboard: open the tool editor, type { in a request field (or use Variables), open the variable, keep ENV on and fill "Value". Responses mask env values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| variable | Yes |