base64_encode
Pack: httpbin · Endpoint: https://gateway.pipeworx.io/httpbin/mcp
Base64 encode.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
s | string | yes |
Example call
Arguments
{
"s": "hello world"
}
curl
curl -X POST https://gateway.pipeworx.io/httpbin/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"base64_encode","arguments":{"s":"hello world"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('base64_encode', {
"s": "hello world"
});
More examples
{
"s": "sensitive data"
}
Response shape
Always returns: status, content_type, body
| Field | Type | Description |
|---|---|---|
status | number | HTTP status code |
content_type | string | Content-Type header |
body | string | Base64 encoded string |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "number",
"description": "HTTP status code"
},
"content_type": {
"type": "string",
"description": "Content-Type header"
},
"body": {
"type": "string",
"description": "Base64 encoded string"
}
},
"required": [
"status",
"content_type",
"body"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"httpbin": {
"url": "https://gateway.pipeworx.io/httpbin/mcp"
}
}
}
See Getting Started for client-specific install steps.