get_prompt_by_name
Retrieve a specific LangSmith prompt by its exact name, returning its full details and template for reuse or inspection.
Instructions
Get a specific prompt by its exact name.
Args: prompt_name (str): The exact name of the prompt to retrieve
Returns: Dict containing the prompt details and template, or an error message
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_name": "<prompt_name>"
},
"name": "get_prompt_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_name | Yes | The exact name of the prompt to retrieve |