# stream.info.set

Source: https://docs.lightair.app/developers/remote-api/stream.info.set

> Changes the stream's title, category or description on a platform, as the account signed in officially.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Outputs. Script plugins need the `project.write` permission.

Needs an official sign-in to that platform in **Settings › Connections**. Look a category up with [stream.categories](/developers/remote-api/stream.categories) first.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `platform` | `string` | no | The platform. Default `twitch`. |
| `title` | `string` | no | A new title. |
| `category` | `string` | no | A new category. |
| `description` | `string` | no | A new description (YouTube). |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `result` | `string` | no | What changed, in a sentence. |

## Errors

A state error (-32005) when not signed in to that platform officially, or when the platform refuses.

## From an AI agent

The MCP server's `stream_info (action: set)` reaches this method.

## Example

```json
{ "jsonrpc": "2.0", "id": 1, "method": "stream.info.set", "params": { "platform": "twitch", "title": "Speedrun practice" } }
```

Result:

```json
{ "result": "…" }
```

## Related

- [stream.info.get](https://docs.lightair.app/developers/remote-api/stream.info.get.md)
- [stream.categories](https://docs.lightair.app/developers/remote-api/stream.categories.md)
