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 0.1.0).

invoke_function

Inactive

Tool of io.github.butterbase-ai/mcp

declared in 0.1.0

Invoke a deployed function and return its full HTTP response. Example — POST with body: Input: { app_id: "app_abc123", function_name: "submit-inquiry", body: { email: "user@example.com", message: "hello" } } Output: { status: 200, headers: { "content-type": "application/json" }, body: { id: "uuid-1234" }, duration_ms: 47 } Example — GET (no body): Input: { app_id: "app_abc123", function_name: "public-catalog", method: "GET" } Parameters: - method defaults to POST. The function's trigger config determines which methods are valid. - body is sent as JSON. Omit for GET/HEAD requests. - headers are merged with the default auth headers. Use this to: - Test a function immediately after deployment - Debug function logic with different inputs - Verify function response format and status codes Common errors: - RESOURCE_NOT_FOUND: Function doesn't exist, use manage_function (action: "list") to verify - Function timeout: Increase timeoutMs in deploy_function - Runtime error: Check manage_function (action: "get_logs") for stack trace Idempotency: Depends on function implementation (may have side effects).

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "app_id",
    "function_name"
  ],
  "properties": {
    "body": {
      "description": "Request body (sent as JSON)"
    },
    "app_id": {
      "type": "string",
      "description": "The app ID"
    },
    "method": {
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ],
      "type": "string",
      "default": "POST",
      "description": "HTTP method (default: POST)"
    },
    "headers": {
      "type": "object",
      "description": "Additional request headers",
      "additionalProperties": {
        "type": "string"
      }
    },
    "function_name": {
      "type": "string",
      "description": "The function name to invoke"
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

io.github.butterbase-ai/mcp

https://github.com/butterbase-ai/butterbase-oss

1/7 registries
View full server →