{% extends "docs/base.html" %} {% block docs_content %}
list_file_uploadsget_file_uploadcreate_file_uploadupdate_file_uploaddelete_file_uploadget_file_upload_contentrepo: repo locator such as teams/team_slug/repo_slug or username/repo_slug.uuid: file upload UUID for read/update/delete/content calls.filename, content_base64, description, and content_type for create.curl -X POST https://pearing.example/api/v1/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_file_upload",
"arguments": {
"repo": "teams/acme/webapp",
"filename": "screenshot.png",
"content_base64": "iVBORw0KGgoAAAANSUhEUgAA...",
"description": "Build screenshot",
"content_type": "image/png"
}
}
}'