DeepSeek
deepseekDeepSeek provides a range of AI products and services, including a chatbot, a search engine, and a language model.
Acciones disponibles (4)
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 Anthropic MessageDEEPSEEK_CREATE_ANTHROPIC_MESSAGEAcciónTool to create a model response using DeepSeek's Anthropic-compatible API format with support for system prompts, tool calling, streaming, and thinking mode. Use when you need to generate chat completions using the Anthropic Messages API format. Requires base_url='https://api.deepseek.com/anthropic' or metadata base_url ending with '/anthropic'. Supports extended thinking, function calling with tools, and streaming responses. Note: Images and documents are not supported in content blocks.
DEEPSEEK_CREATE_ANTHROPIC_MESSAGEAcciónTool to create a model response using DeepSeek's Anthropic-compatible API format with support for system prompts, tool calling, streaming, and thinking mode. Use when you need to generate chat completions using the Anthropic Messages API format. Requires base_url='https://api.deepseek.com/anthropic' or metadata base_url ending with '/anthropic'. Supports extended thinking, function calling with tools, and streaming responses. Note: Images and documents are not supported in content blocks.
Parámetros de entrada
modelstringObligatorioModel identifier. Use 'deepseek-chat' or 'deepseek-reasoner'. Unsupported model names automatically default to 'deepseek-chat'.
toolsobject[]Array of tool definitions for function calling. Each tool has a name, description, and input_schema.
top_pnumberNucleus sampling parameter. Controls diversity via cumulative probability.
streambooleanWhether to incrementally stream the response using server-sent events. If true, response will be streamed.
systemstringSystem prompt providing context or instructions to the model. Can be a string or array of content blocks.
messagesobject[]ObligatorioArray of input messages with alternating user/assistant roles. Each message must have a role ('user' or 'assistant') and content (text only; images/documents not supported).
thinkingobjectConfiguration for extended thinking mode.
max_tokensintegerObligatorioMaximum number of tokens to generate before stopping.
temperaturenumberRandomness in response generation. Range 0.0-2.0. Lower values make output more deterministic.
tool_choicestringHow the model should use provided tools. Can be 'auto', 'any', 'none', or a ToolChoiceConfig object specifying a specific tool.
stop_sequencesstring[]Custom text sequences that will cause the model to stop generating.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Chat CompletionDEEPSEEK_CREATE_CHAT_COMPLETIONAcciónTool to create a chat completion using DeepSeek models (deepseek-chat or deepseek-reasoner). Use when you need to generate AI responses to chat conversations. Supports streaming, tool/function calling, and various parameters to control generation behavior (temperature, max_tokens, etc.).
DEEPSEEK_CREATE_CHAT_COMPLETIONAcciónTool to create a chat completion using DeepSeek models (deepseek-chat or deepseek-reasoner). Use when you need to generate AI responses to chat conversations. Supports streaming, tool/function calling, and various parameters to control generation behavior (temperature, max_tokens, etc.).
Parámetros de entrada
stopstringUp to 16 sequences where the API will stop generating further tokens.
modelstringObligatorioenumThe model to use for generation. Choose 'deepseek-chat' for general use or 'deepseek-reasoner' for reasoning tasks.
deepseek-chatdeepseek-reasonertoolsobject[]A list of tools (max 128) the model may call. Each tool defines a function the model can invoke.
top_pnumberNucleus sampling parameter. The model considers tokens with top_p probability mass.
streambooleanIf true, partial message deltas will be sent as server-sent events.
messagesobject[]ObligatorioA list of messages comprising the conversation. Must contain at least one message.
thinkingobjectConfiguration for thinking mode.
max_tokensintegerThe maximum number of tokens to generate in the chat completion.
temperaturenumberWhat sampling temperature to use, between 0 and 2. Higher values make output more random.
tool_choicestringenumControls which (if any) function is called. Options: 'none', 'auto', 'required', or specify a particular function.
noneautorequiredstream_optionsobjectConfiguration for streaming options.
response_formatobjectConfiguration for response format.
presence_penaltynumberNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far.
frequency_penaltynumberNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User BalanceDEEPSEEK_GET_USER_BALANCEAcciónTool to get user's current account balance including granted and topped-up balances with detailed breakdown by currency (CNY or USD). Use when you need to check if the user has sufficient balance for API calls or to view detailed balance information.
DEEPSEEK_GET_USER_BALANCEAcciónTool to get user's current account balance including granted and topped-up balances with detailed breakdown by currency (CNY or USD). Use when you need to check if the user has sufficient balance for API calls or to view detailed balance information.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ModelsDEEPSEEK_LIST_MODELSAcciónTool to list currently available DeepSeek models and provides basic information about each one such as the owner and availability. Use when you need to discover which models are available for API calls.
DEEPSEEK_LIST_MODELSAcciónTool to list currently available DeepSeek models and provides basic information about each one such as the owner and availability. Use when you need to discover which models are available for API calls.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobject[]ObligatorioArray of available model objects.
errorstringError if any occurred during the execution of the action
objectstringObligatorioIndicates response type; always 'list'.
successfulbooleanObligatorioWhether or not the action execution was successful or not