get_stream_id
Retrieve a stream's numeric ID using its exact name. Resolves stream names to IDs required for other Zulip API calls.
Instructions
Look up a stream's numeric ID by its name.
Use this when you know a stream's name but need its ID for other API calls (e.g., list_topics requires a stream_id).
Args: stream_name: Exact name of the stream (case-sensitive).
Returns: JSON object with the stream_id.
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": {
"stream_name": "<stream_name>"
},
"name": "get_stream_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |