setWorkspaceSetting
Updates VS Code workspace or global settings using dot notation. Specify key-value pairs to modify configuration, with security settings blocked.
Instructions
Write VS Code workspace setting (dot notation e.g. editor.tabSize). security.* writes blocked.
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": "setWorkspaceSetting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Setting key in dot notation (e.g. 'editor.tabSize') | |
| value | Yes | New value for the setting | |
| target | No | Which scope to write to (default: workspace) |