Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List Workflow Labels
PROMPTLAYER_LIST_WORKFLOW_LABELSList all release labels for a PromptLayer workflow by ID or name, including the version ID and version number each label points to.
List Workflows
PROMPTLAYER_LIST_WORKFLOWSSearch and page through PromptLayer workflows without running them.
List Workspace Env Vars
PROMPTLAYER_LIST_WORKSPACE_ENV_VARSList environment variables for the API key's PromptLayer workspace. Returns keys, scope IDs, timestamps, empty-value flags, and only the last four characters of stored values, rather than plaintext values.
Log Request
PROMPTLAYER_LOG_REQUESTLog an existing model request and response in PromptLayer with timing, usage, cost, tags, metadata, and optional prompt association. This records supplied data without invoking an LLM. Chat message content must be an array of content blocks, not a plain string. Returns the created request log ID.
Migrate Table Sheet Legacy Score
PROMPTLAYER_MIGRATE_TABLE_SHEET_LEGACY_SCOREConvert a PromptLayer Table sheet's existing legacy score configuration into scorecard criteria. Optionally delete the legacy score configuration after conversion. Returns the scorecard, converted count, skipped scores, and sheet version. Resource IDs must belong to the API key's workspace.
Move Folder Entities
PROMPTLAYER_MOVE_FOLDER_ENTITIESMove PromptLayer registry entities into a destination folder or to the workspace root. Supply each entity's ID and type; omit folder_id or set it to null to move to the root. Returns the number of moved entities.
Move Prompt Template Label
PROMPTLAYER_MOVE_PROMPT_TEMPLATE_LABELMove an existing PromptLayer release label to a different version of the same prompt template. Supply the label ID and destination version number; the label's name and identity are preserved.
Patch Prompt Template Version
PROMPTLAYER_PATCH_PROMPT_TEMPLATE_VERSIONCreate a new version of an existing PromptLayer template by patching its latest version, a specific version, or a release label. Patch chat messages/tools/functions or completion content by index or replace whole arrays, tune model parameters, and optionally move release labels. Omitted fields are preserved; explicit null removes supported settings. This stores a new version without executing an LLM or modifying the base version.
Patch Workflow
PROMPTLAYER_PATCH_WORKFLOWPartially update a PromptLayer workflow by ID or name, creating a new version from the latest or a specified base version. Add, deep-merge, or remove nodes; replace dependencies, inputs, or edges; and attach release labels. The resulting workflow must retain an output node. Does not execute the workflow.
Publish Prompt Template
PROMPTLAYER_PUBLISH_PROMPT_TEMPLATEPublish a PromptLayer registry prompt template and a new version of its chat or completion content. Creates a template or adds a version to the existing prompt name. Optionally attach tags, model metadata, release labels, and external IDs. This stores the prompt without executing an LLM.
Query Request Analytics
PROMPTLAYER_QUERY_REQUEST_ANALYTICSRead custom aggregate analytics over PromptLayer request logs. Compute counts, numeric aggregates, percentiles, grouped or time-series charts, and multi-series ratio insights, optionally narrowed with search and recursive filters. Does not modify request logs or save charts.
Query Trace Analytics
PROMPTLAYER_QUERY_TRACE_ANALYTICSRead custom aggregate analytics over PromptLayer traces and spans with recursive filters. Compute counts, costs, tokens, durations, percentiles, grouped charts, histograms, or multi-series results. Each chart must use exclusively trace-level or span-level fields; span charts cannot use timeSeries. No traces or saved charts are modified.
Recalculate Table Cell
PROMPTLAYER_RECALCULATE_TABLE_CELLTrigger recalculation for one PromptLayer Table cell. Returns an execution ID when recalculation starts, or a message when no cells need recalculation. All IDs must belong to the API key's workspace. Computed columns may incur execution costs depending on their type.
Recalculate Table Cells
PROMPTLAYER_RECALCULATE_TABLE_CELLSTrigger recalculation for a batch of PromptLayer Table cells by ID. Returns an execution ID when recalculation starts, or a message when no cells need recalculation. All IDs must belong to the API key's workspace. Computed columns may incur execution costs depending on their type.
Recalculate Table Sheet Score
PROMPTLAYER_RECALCULATE_TABLE_SHEET_SCOREQueue recalculation of an existing PromptLayer Table sheet score configuration. Scoring must already be configured; this action does not configure scoring or wait for calculation to finish. The Table and sheet must belong to the API key's workspace.
Recalculate Table Sheet Scorecard
PROMPTLAYER_RECALCULATE_TABLE_SHEET_SCORECARDQueue recalculation of an existing PromptLayer table sheet scorecard, optionally limited to row indices and step UUIDs. The scorecard must already be configured. Returns a calculation ID and status without waiting for completion. Resources must belong to the API key's workspace.
Render Prompt Template
PROMPTLAYER_RENDER_PROMPT_TEMPLATERetrieve a prompt template by name or ID and render provider-ready llm_kwargs with input_variables using POST. Optionally select a version or release label and obtain provider-specific llm_kwargs with model parameter overrides. Does not execute an LLM call or save a template version. Use GET_PROMPT_TEMPLATE for the raw template read without input-variable substitution. The prompt_template response may retain raw placeholders; the substituted content is in llm_kwargs.
Resolve Folder ID
PROMPTLAYER_RESOLVE_FOLDER_IDResolve a PromptLayer folder's ID from its dot-separated folder path within a specified workspace. Returns the folder ID for subsequent folder operations; a nonexistent path returns a not-found error.
Run Workflow
PROMPTLAYER_RUN_WORKFLOWStart an execution of a PromptLayer workflow by name, using its latest version or one specified label or version number. Returns an execution ID, not the completed output; retrieve results with Get Workflow Execution Results. Optionally supply inputs, metadata, or an HTTP callback URL for asynchronous delivery.
Save Skill Collection Version
PROMPTLAYER_SAVE_SKILL_COLLECTION_VERSIONCreate a new saved version of a PromptLayer skill collection by UUID, name, or root path. Send file text updates, path moves, and deletions as JSON, with an optional commit message and release label.