PublishReadme
Replace the README of a graph variant, the same write that rover readme publish performs.
The README is the Markdown document shown on the variant's page in GraphOS Studio.
The new text replaces the whole README, so read the current one with GetReadme first if you intend to keep any of it.
Provide the graph ID, the variant name, and the full README text.
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": {
"graphId": "<graphId>",
"variant": "<variant>",
"readme": "<readme>"
},
"name": "PublishReadme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| readme | Yes | The full new text of the README, as a Markdown-formatted string. | |
| graphId | Yes | ||
| variant | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |