Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Table Rows
PROMPTLAYER_ADD_TABLE_ROWSAppend one or more rows to a PromptLayer Table sheet in the API key's workspace. Text-column values can be set immediately; non-text cells are created stale and need a separate recalculation.
Attach Folder External ID
PROMPTLAYER_ATTACH_FOLDER_EXTERNAL_IDAttach an external-system identifier to an existing PromptLayer folder. Supply the folder ID, the external system's source namespace, and its identifier for the folder.
Attach Prompt Template External ID
PROMPTLAYER_ATTACH_PROMPT_TEMPLATE_EXTERNAL_IDAttach an external system identifier to an existing PromptLayer prompt template. Supply the template ID, external namespace (source), and external ID. Returns the attached mapping; a mapping assigned to another entity conflicts.
Attach Registered Tool External ID
PROMPTLAYER_ATTACH_REGISTERED_TOOL_EXTERNAL_IDAttach an external-system identifier to an existing PromptLayer registered tool. Supply its tool ID, source namespace, and external identifier. Returns the attached mapping; does not execute the registered tool.
Attach Skill Collection External ID
PROMPTLAYER_ATTACH_SKILL_COLLECTION_EXTERNAL_IDAttach an external system identifier to a PromptLayer skill collection by UUID. Returns the attached source and external ID mapping; conflicting mappings return an error.
Attach Workflow External ID
PROMPTLAYER_ATTACH_WORKFLOW_EXTERNAL_IDAttach an external-system identifier to an existing PromptLayer workflow. Supply the workflow ID, the external system's source namespace, and its identifier for the workflow.
Create Folder
PROMPTLAYER_CREATE_FOLDERCreate a PromptLayer folder at the workspace root or inside a parent folder, optionally attaching external identifiers. The name must be unique within its parent. Uses the API key's workspace unless workspace_id is supplied.
Create Prompt Template Label
PROMPTLAYER_CREATE_PROMPT_TEMPLATE_LABELCreate a release label for a specific version of a PromptLayer prompt template. Supply the template ID, version number, and label name. This labels stored content without executing an LLM.
Create Registered Tool
PROMPTLAYER_CREATE_REGISTERED_TOOLCreate a PromptLayer registered tool and its initial version in the API key's workspace using an OpenAI function-calling definition. Optionally set a folder, external identifiers, and a sandbox-executable implementation. Returns the created tool and version; does not test-execute the tool.
Create Registered Tool Environment Variable
PROMPTLAYER_CREATE_REGISTERED_TOOL_ENV_VARCreate an environment variable scoped to a registered PromptLayer tool, identified by numeric ID or name. Supply a value or leave it empty to create a placeholder. An existing key on the same tool returns a conflict; use the update action to change it.
Create Registered Tool Version
PROMPTLAYER_CREATE_REGISTERED_TOOL_VERSIONCreate a new version of an existing PromptLayer registered tool by numeric ID or name using an OpenAI function-calling definition. Optionally configure a sandbox-executable body and commit message. Returns the new version; does not invoke or test-execute the registered tool.
Create Skill Collection
PROMPTLAYER_CREATE_SKILL_COLLECTIONCreate a PromptLayer skill collection in the API key's workspace, optionally with initial text files, a destination folder, provider, and external IDs. Uses the JSON creation endpoint; ZIP uploads are not supported by this action.
Create Table
PROMPTLAYER_CREATE_TABLECreate a PromptLayer Table in the API key's workspace, optionally in a folder. By default creates Sheet 1 with a Column A text column and one empty row; set create_default_sheet to false to create a table without sheets.
Create Table Column
PROMPTLAYER_CREATE_TABLE_COLUMNAdd a column to a PromptLayer Table sheet in the API key's workspace. Provide a title and column type, with type-specific config and dependency edges when needed. Non-text columns generate cells for all existing rows.
Create Table Sheet
PROMPTLAYER_CREATE_TABLE_SHEETCreate a sheet in a PromptLayer Table in the API key's workspace. Omit source for a blank sheet with Column A and one empty row (201), or import a base64 CSV/JSON file or request log history asynchronously (202). For imports, poll the returned operation_id using the table operation endpoint to track completion.
Create Table Sheet Operation
PROMPTLAYER_CREATE_TABLE_SHEET_OPERATIONQueue recalculation of a PromptLayer Table sheet, optionally selecting columns, zero-based rows, and cell statuses. Text columns cannot be recalculated. Returns operation and execution IDs for asynchronous work, a zero cell count for no-op, or a confirmation token to resend when confirmation is required. IDs must belong to the API key's workspace. Computed columns may incur costs.
Create Table Sheet Version
PROMPTLAYER_CREATE_TABLE_SHEET_VERSIONCreate a named snapshot of a PromptLayer Table sheet, or restore an existing version while creating a new version. Provide name for a snapshot; provide source_version_id to restore, optionally with name. Restoring changes the sheet's current contents. All IDs must belong to the API key's workspace.
Create Workflow
PROMPTLAYER_CREATE_WORKFLOWCreate a PromptLayer workflow, or a new version of an existing workflow. Use name for a new workflow (omit to auto-generate), or workflow_id or workflow_name to version an existing workflow. Supply the complete node list with at least one output node; optionally attach conditional edges, release labels, external identifiers, and required input variables.
Create Workspace Environment Variable
PROMPTLAYER_CREATE_WORKSPACE_ENV_VARCreate a workspace environment variable in the API key's workspace. Supply a unique key and optionally a value, or create an empty placeholder. Returns the variable ID and metadata, including only the value suffix.
Import Table Sheet File
PROMPTLAYER_IMPORT_TABLE_SHEET_FILEStart an asynchronous CSV import into an existing PromptLayer Table sheet. Provide the CSV filename and base64-encoded content. A queued response does not mean the import is complete; poll the returned status_url. The Table and sheet must belong to the API key's workspace.