source.update
Renames a source or changes its settings, everywhere it's shown.
JSON-RPC 2.0project.write
Parameters
- sourcestringrequiredThe source's id or name.
- namestringA new name.
- settingsobjectSettings, merged into its own key by key.
- replacebooleanReplace all its settings with
settingsinstead of merging.
Errors
Not found (-32004) for an unknown source.
Events
Subscribers to events get workspace.changed.
From an AI agent
The MCP server's source (action: update) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "source.update", "params": { "source": "Title", "settings": { "text": "Live now" } }}lightair call source.update '{"source":"Title","settings":{"text":"Live now"}}'const result = lightair.call("source.update", {"source":"Title","settings":{"text":"Live now"}});Result
{}