box_get_file_text
Pack: box · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/box_get_file_text for the schema, then POST the same URL with its arguments for the data.
Download and return the text content of a Box (cloud storage) file by its file id. Best for plain-text, Markdown, CSV, and other text documents; binary formats (Office docs, PDFs, images) will return unreadable bytes. Content is capped at ~100,000 characters and flagged when truncated.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file_id | string | yes | The Box file id of the file to read. |
Example call
Arguments
{
"file_id": "555666777"
}
curl
curl -X POST https://gateway.pipeworx.io/box/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"box_get_file_text","arguments":{"file_id":"555666777"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('box_get_file_text', {
"file_id": "555666777"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the box pack
{
"mcpServers": {
"box": {
"url": "https://gateway.pipeworx.io/box/mcp"
}
}
}
See Getting Started for client-specific install steps.