Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Chat Completions
METATEXTAI_CHAT_COMPLETIONSGenerate OpenAI-compatible chat completions for a chosen model from a prompt or conversation messages. Control generation with temperature, a stop sequence, and a maximum token count.
Classify Text
METATEXTAI_CLASSIFYClassify text using a project model and return labels with confidence scores. Missing confidence is reported as 0.0; an empty prediction list can also result from access, availability, rate-limit, or network failures.
Create Policy Guardrails
METATEXTAI_CREATE_POLICY_GUARDRAILSCreate a policy guardrail for a specific application to define automated content rules. Specify the policy's rules and targets, with an optional description and custom violation response.
Delete Guardrail Policy
METATEXTAI_DELETE_POLICY_GUARDRAILSDelete a guardrail policy by application and policy ID. A success result can also reflect a 404 or 410 response and does not necessarily confirm that a policy was deleted.
Evaluate Messages
METATEXTAI_EVALUATETool to evaluate LLM messages against policies/guardrails. Use after generating model output to get violation details or corrections.
Run Extraction
METATEXTAI_EXTRACTExtract structured data from text using a project model. Empty predictions can also result from access, endpoint availability, or rate-limit failures.
Generate Text
METATEXTAI_GENERATEGenerate text for a project model using either a prompt or chat messages. Set temperature, a stop sequence, and a maximum token count to control generation.
List Applications
METATEXTAI_LIST_APPLICATIONSList MetaTextAI applications to discover their available IDs, names, and descriptions.
List Models
METATEXTAI_LIST_MODELSList available models and their supported tasks to help choose a model for chat completions. An empty list can also indicate an authorization or endpoint failure, or an unrecognized response shape.
List Guardrail Policies
METATEXTAI_LIST_POLICIES_GUARDRAILSList guardrail policies for a specific application using its application ID, to inspect its configured policies.
List Red Team Test Probes
METATEXTAI_LIST_RED_TEAM_TEST_PROBESList available red-team test probe identifiers to discover probes for red teaming. No parameters are required.
Run Red Team Test Scan
METATEXTAI_RUN_RED_TEAM_TEST_SCANTool to run a vulnerability red-team test scan. Use when you need to execute probes against an application.
Update Policy Guardrails
METATEXTAI_UPDATE_POLICY_GUARDRAILSUpdate an existing application's policy guardrails and rules. The returned policy may echo the request even when all endpoints fail and one returned 403 or 404, so it does not by itself confirm the update.