Fetch prompts from LangSmith with optional filtering. Args: is_public (str): Filter by prompt visibility - "true" for public prompts, "false" for private prompts (default: "false") limit (int): Maximum number of prompts to return (default: 20) Returns: Dict with prompts and metadata
AI agents call list_prompts to retrieve information from Langsmith without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | — | Maximum number of prompts to return |
is_public | string | — | Filter by prompt visibility - "true" for public prompts, "false" for private prompts |
Parameters from the server's own tool schema.
This tool retrieves and lists prompts with optional filtering—a read-only operation. There are no create, update, delete, or execute capabilities. The blast radius of misuse is minimal: an agent could enumerate prompts, but cannot modify, execute, or delete them. The filtering by visibility (is_public/private) is a standard access-control parameter, not a destructive or dangerous operation.
From the tool's definition Tool name 'list_prompts' and description 'Fetch prompts from LangSmith with optional filtering' indicate a query operation. Arguments include only filtering/pagination parameters (is_public, limit) with no modification capabilities.
Attacks that exploit this kind of access
Fetch prompts from LangSmith with optional filtering. Args: is_public (str): Filter by prompt visibility - "true" for public prompts, "false" for private prompts (default: "false") limit (int): Maximum number of prompts to return (default: 20) Returns: Dict with prompts and metadata. It is categorised as a Read tool in the Langsmith MCP Server, which means it retrieves data without modifying state.
list_prompts accepts 2 parameters: limit, is_public. The full parameter table on this page comes from the server's own tool schema.
Register the Langsmith MCP server in PolicyLayer and add a rule for list_prompts: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Langsmith. Nothing to install.
list_prompts is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the list_prompts rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for list_prompts. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
list_prompts is provided by the Langsmith MCP server (langsmith-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →