agentlens_prompts
Manage AI prompt templates and versions. List, create, update, track analytics, and discover prompt fingerprints for your agents.
Instructions
Manage prompt templates and versions.
Actions:
list: List prompt templates (optional category, search filters)get: Get a template with all versions by IDcreate: Create a new prompt template with initial contentupdate: Create a new version of an existing templateanalytics: Get per-version metrics for a templatefingerprints: List auto-discovered prompt fingerprints
Example: agentlens_prompts({ action: "list", category: "system" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| templateId | No | Template ID (for get, update, analytics) | |
| name | No | Template name (for create) | |
| content | No | Prompt content (for create, update) | |
| description | No | Template description (for create) | |
| category | No | Category filter or value | |
| variables | No | JSON array of variable definitions (for create) | |
| changelog | No | Change description (for update) | |
| search | No | Name search filter (for list) | |
| from | No | Start date ISO (for analytics) | |
| to | No | End date ISO (for analytics) | |
| agentId | No | Agent ID filter (for fingerprints) |