article_files

Pack: figshare · Endpoint: https://gateway.pipeworx.io/figshare/mcp

List downloadable files attached to a Figshare article by numeric id (optionally a specific version). Returns file names, sizes, MIME types, and direct download URLs.

Parameters

NameTypeRequiredDescription
idnumberyes
versionnumberno

Example call

Arguments

{
  "id": 1234567
}

curl

curl -X POST https://gateway.pipeworx.io/figshare/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"article_files","arguments":{"id":1234567}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('article_files', {
  "id": 1234567
});

More examples

{
  "id": 1234567,
  "version": 3
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarrayFiles in an article
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Files in an article",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "File ID"
          },
          "name": {
            "type": "string",
            "description": "File name"
          },
          "size": {
            "type": "number",
            "description": "File size in bytes"
          },
          "is_link": {
            "type": "boolean",
            "description": "Whether file is an external link"
          },
          "download_url": {
            "type": "string",
            "description": "File download URL"
          },
          "supplied_md5": {
            "type": "string",
            "description": "MD5 checksum"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "figshare": {
      "url": "https://gateway.pipeworx.io/figshare/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026