read_prompt
Retrieve the content of a specific prompt using its unique ID.
Instructions
Get the prompt content with given prompt 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": {
"prompt_id": "<prompt_id>"
},
"name": "read_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | ||
| project_id | No | ||
| location_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contents | Yes | The combined contents of the prompt. | |
| promptId | Yes | The ID of the prompt. | |
| displayName | Yes | The display name of the prompt. | |
| systemInstruction | Yes | The system instruction for the prompt. |