Volver al catálogo

Fireworks AI

fireworks_ai

Fireworks AI provides APIs for serverless model inference, fine-tuning, deployments, datasets, evaluations, and account management.

Acciones
9
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (9)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Chat CompletionFIREWORKS_AI_CREATE_CHAT_COMPLETIONAcción

Generate one non-streaming OpenAI-compatible chat completion from role-based messages using a caller-supplied Fireworks model or deployment ID.

Parámetros de entrada

  • seedinteger

    Optional seed for best-effort repeatability.

  • stopany

    One or more sequences that stop generation.

  • modelstringObligatorio

    Exact Fireworks model or deployed-model identifier to invoke; discover candidates with the Fireworks AI model or deployment listing tools.

  • toolsobject[]

    Function definitions the model may call.

  • top_pnumber

    Nucleus-sampling probability mass; normally tune this or temperature, not both.

  • messagesobject[]Obligatorio

    Conversation messages in order; each item must contain a role and OpenAI-compatible content or tool-call data.

  • max_tokensinteger

    Maximum number of tokens to generate; omit to use the model or provider default.

  • temperaturenumber

    Sampling temperature; omit to use the provider default.

  • tool_choiceany

    Whether and which supplied function tools the model may call.

  • response_formatobject

    Typed output format, such as JSON mode, JSON Schema, grammar, or text, when the model supports it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create EmbeddingsFIREWORKS_AI_CREATE_EMBEDDINGSAcción

Create embedding vectors for one or more caller-provided inputs using a caller-supplied Fireworks embedding model.

Parámetros de entrada

  • inputanyObligatorio

    Text, a batch of up to 2048 texts, or arbitrary structured records whose keys are referenced by prompt_template. For example, input {'text': 'Hello', 'source': 'docs'} can use prompt_template 'Embed {text} from {source}'.

  • modelstringObligatorio

    Exact embedding model identifier; Fireworks examples may use provider/model form rather than a full account resource name.

  • normalizeboolean

    Whether to normalize returned vectors; omit to use the model default.

  • dimensionsinteger

    Requested output vector dimensions when the selected model supports dimension reduction.

  • prompt_templatestring

    Template that substitutes structured-input keys, for example 'Embed this text: {text}'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Model ResponseFIREWORKS_AI_GENERATE_MODEL_RESPONSEAcción

Generate one non-streaming Responses API result, optionally continuing a stored response or using function, MCP, or SSE tools; storage is off by default.

Parámetros de entrada

  • inputanyObligatorio

    Text input or ordered input items. Use a plain string for simple prompts; to continue a function-tool loop, replay the model's function_call item followed by a function_call_output item carrying the tool result.

  • modelstringObligatorio

    Exact Fireworks model or deployed-model identifier to invoke; no model is selected by the toolkit.

  • storeboolean

    Whether Fireworks should retain the response for later continuation; defaults to false for ephemeral calls.

  • toolsarray

    Verified function, MCP, or SSE tool definitions available to the model.

  • top_pnumber

    Nucleus-sampling probability mass from 0 to 1; normally tune this or temperature, not both.

  • truncationstringenum

    Use 'auto' to truncate overlong context or 'disabled' to return an error; omit for the provider default.

    autodisabled
  • temperaturenumber

    Sampling temperature from 0 to 2; omit to use the provider default.

  • tool_choiceany

    Whether the model must avoid tools, choose automatically, call at least one supplied tool, or call one specific named function tool.

  • instructionsstring

    System-level instructions that guide the model for this response.

  • max_tool_callsinteger

    Maximum number of tool calls allowed for this response.

  • max_output_tokensinteger

    Maximum number of output tokens across generated content; omit to use the model limit.

  • previous_response_idstring

    ID of a previously stored response to continue; omit for an independent response.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get DeploymentFIREWORKS_AI_GET_DEPLOYMENTAcción

Return configuration and serving status for one Fireworks deployment without scaling or modifying it.

Parámetros de entrada

  • read_maskstring

    Comma-separated deployment fields to return; omit for the provider's default projection.

  • account_idstringObligatorio

    Fireworks account ID containing the deployment.

  • deployment_idstringObligatorio

    Deployment resource ID within the account, obtainable with the Fireworks AI deployment listing tool.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ModelFIREWORKS_AI_GET_MODELAcción

Return metadata and status for one model resource in a Fireworks account; this does not test whether the model can serve inference.

Parámetros de entrada

  • model_idstringObligatorio

    Model resource ID within the account, obtainable with the Fireworks AI model listing tool.

  • read_maskstring

    Comma-separated model fields to return; omit for the provider's default projection.

  • account_idstringObligatorio

    Fireworks account ID containing the model resource.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AccountsFIREWORKS_AI_LIST_ACCOUNTSAcción

Return one page of Fireworks accounts accessible to the API key so an agent can obtain account IDs for model and deployment discovery.

Parámetros de entrada

  • filterstring

    Fireworks management API filter expression for accounts.

  • page_sizeinteger

    Maximum accounts to return in this page (1-200).

  • read_maskstring

    Comma-separated account fields to return; omit for the provider's default projection.

  • next_cursorstring

    Continuation cursor returned by a previous call to this tool; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DeploymentsFIREWORKS_AI_LIST_DEPLOYMENTSAcción

Return one page of deployment resources in a Fireworks account for deployment ID discovery and serving-capacity and status inspection.

Parámetros de entrada

  • filterstring

    Fireworks management API filter expression for deployment resources.

  • order_bystring

    Comma-separated deployment fields to order by; append ' desc' for descending order.

  • page_sizeinteger

    Maximum deployment resources to return in this page (1-200).

  • read_maskstring

    Comma-separated deployment fields to return; omit for the provider's default projection.

  • account_idstringObligatorio

    Fireworks account ID, obtainable with the Fireworks AI account listing tool.

  • next_cursorstring

    Continuation cursor returned by a previous call to this tool; omit for the first page.

  • show_deletedboolean

    Whether to include soft-deleted deployment resources in discovery results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ModelsFIREWORKS_AI_LIST_MODELSAcción

Return one page of model resources in a Fireworks account for model-ID discovery and status inspection; availability for inference is not guaranteed.

Parámetros de entrada

  • filterstring

    Fireworks management API filter expression for model resources.

  • order_bystring

    Comma-separated model fields to order by; append ' desc' for descending order.

  • page_sizeinteger

    Maximum model resources to return in this page (1-200).

  • read_maskstring

    Comma-separated model fields to return; omit for the provider's default projection.

  • account_idstringObligatorio

    Fireworks account ID, obtainable with the Fireworks AI account listing tool.

  • next_cursorstring

    Continuation cursor returned by a previous call to this tool; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Rerank DocumentsFIREWORKS_AI_RERANK_DOCUMENTSAcción

Rank a provided document list by relevance to a query using an optional caller-supplied Fireworks reranker model.

Parámetros de entrada

  • taskstring

    Optional task instruction supported by the selected reranker model.

  • modelstring

    Exact reranker model identifier; omit only when intentionally using Fireworks' documented provider default.

  • querystringObligatorio

    Search query against which document relevance is scored.

  • top_ninteger

    Maximum number of highest-ranked results to return.

  • documentsstring[]Obligatorio

    Documents to score and reorder; result indices refer to this original array.

  • return_documentsboolean

    Whether each result should include its document text as well as its original index and relevance score.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not