You're viewing a demo portfolio

Join the waitlist
PRSM
This tool is no longer present in the server's latest manifest. Showing the last observed version (server version 1.28.1).

chat_completion

Inactive

Tool of com.gadgethumans.swarm/x402-middleware

declared in 1.28.1

Send a chat completion request to DeepSeek V4 Flash through the GadgetHumans proxy. REQUIRES an API key with credits. Get one via wallet_create or wallet_buy. Use this to get AI responses. Each call costs ~1 credit from your wallet. Accepts an OpenAI-compatible messages format. Returns response with content, token usage, and cost estimate. Parameters: messages — JSON string of messages array (e.g. '[{"role":"user","content":"Hello"}]'). Must be valid JSON with at least one message. model — Model to use (default: "deepseek-v4-flash"). temperature — Sampling temperature (0.0-1.0, default: 0.7). max_tokens — Maximum tokens in response (default: 2000). api_key — Your wallet API key (starts with 'gh_'). REQUIRED for paid access.

Parameters schema

{
  "type": "object",
  "title": "chat_completionArguments",
  "required": [
    "messages"
  ],
  "properties": {
    "model": {
      "type": "string",
      "title": "Model",
      "default": "deepseek-v4-flash"
    },
    "api_key": {
      "type": "string",
      "title": "Api Key",
      "default": ""
    },
    "messages": {
      "type": "string",
      "title": "Messages"
    },
    "max_tokens": {
      "type": "integer",
      "title": "Max Tokens",
      "default": 2000
    },
    "temperature": {
      "type": "number",
      "title": "Temperature",
      "default": 0.7
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

com.gadgethumans.swarm/x402-middleware

https://github.com/scotia1973-bot/gadgethumans-x402

2/7 registries
View full server →