create_prompt
Create a prompt for a language model by providing content, system instructions, model, and display name.
Instructions
Create a prompt with given content, system instruction, model and display name.
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": {
"content": "<content>",
"system_instruction": "<system_instruction>",
"model": "<model>",
"display_name": "<display_name>"
},
"name": "create_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| content | Yes | ||
| project_id | No | ||
| location_id | No | ||
| display_name | Yes | ||
| system_instruction | Yes |
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. |