Skip to content

HTTP 422 errors using system_prune and image_prune #6

Description

@gu1ll0me

First, thank you for your work on this MCP server.

I tried to use the arcane_image_prune and arcane_system_prune tools today with Hermes, but the agent receive an HTTP error 422 :
(Arcane container logs)

Jun 23 19:51:39.047 INF Unprocessable Entity request.method=POST request.host=X.X.X.X:3552 request.path=/api/environments/0/images/prune request.query="" request.params=map[id:0] request.route=/api/environments/:id/images/prune request.referer="" request.length=13 response.latency=293.092935ms response.status=422 response.length=226

If I use the Scalar tool in the API reference section to test the images prune, it works :

Jun 23 19:53:23.837 INF Incoming request request.method=POST request.host=X.X.X.X:3552 request.path=/api/environments/0/images/prune request.query="" request.params=map[id:0] request.route=/api/environments/:id/images/prune request.referer=http://X.X.X.X:3552/api/docs request.length=76 response.latency=340.701376ms response.status=200 response.length=142
  • the volume_prune and network_prune works great via the MCP server (response.status=200) with Hermes
  • all permissions are checked for the Arcane API key
  • ARCANE_TOOL_PRESET=full
  • Arcane server v2.1.0

I'm I missing something ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions