agy_set_config
Set a configuration value in Antigravity's config.json, creating the file if it does not exist.
Instructions
Set a configuration value in Antigravity config.json.
Creates the config file if it doesn't exist.
Return Format
{"success": bool, "key": str, "value": any}
Examples
agy_set_config("default_model", "claude-sonnet-4-6")
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": {
"key": "<key>",
"value": "<value>"
},
"name": "agy_set_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| key | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||