update_project_metadata
Update a project's surfaces and git remotes: a list you send replaces that whole list, omit a list to keep it, include id to keep an item. A surface sent without its id is treated as a new surface and the old one is deleted, dropping its epic/task links — always send the id when renaming. Surfaces reference remotes by remoteUrl (auto-added to remotes). Never send local folder paths. If the user is working inside a VSCode workspace and a <workspace>/.bilg/bilg.config.json exists, prefer that file's projectName over the API key's default project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_project_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotes | No | ||
| surfaces | No | ||
| projectName | No | Defaults to the API key's default project | |
| expectedUpdatedAt | No | updatedAt from get_project_metadata; mismatch fails with metadata_conflict. null means never set, and is then the right value |