Install
openclaw skills install file-management-newestFile Management: Upload and manage files in one tool: upload_standard, upload_large, list with previews, get signed URLs, download, delete, share, update metadata, inspect access history, and extend expiration. Use when an agent needs file management, small file upload, large file upload, signed upload url generation, temporary file hosting, access history, file id, limit through AgentPMT-hosted remote tool calls. Discovery terms: file management, small file upload, large file upload.
openclaw skills install file-management-newestLast updated: 2026-06-10.
If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.
Upload, list, retrieve, share, download, delete, and manage files stored in AgentPMT cloud storage. This product now owns the full file lifecycle, including signed upload URLs for files up to 10MB and for files over 10MB up to 100MB, budget-scoped file listing with preview URLs, fresh signed download URLs, direct base64 download for smaller files, password-protected sharing, metadata and tag updates, access-history inspection, and expiration extension. All file operations are scoped to the current budget for isolation and are designed to let one budget create persistent files that can be revisited across later agent runs.
Manage the complete file lifecycle from a single tool. This includes uploading new files, listing existing files for the current budget, retrieving metadata and signed URLs, downloading content, deleting files, creating password-protected share links, auditing access history, updating metadata and tags, and extending expiration.
upload_standardGenerate a signed upload URL for a file up to 10MB.
Required fields:
content_length_bytes: exact file size in bytes, 1 to 10,485,760Optional fields:
filenamecontent_typeexpiration_days (1-7)sharedpassword_max_uses (1-10)password_max_minutes (1-10)metadatatagsupload_largeGenerate a signed upload URL for a file over 10MB and up to 100MB.
Required fields:
content_length_bytes: exact file size in bytes, greater than 10,485,760 and up to 104,857,600Optional fields:
filenamecontent_typeexpiration_days (1-7)sharedpassword_max_uses (1-10)password_max_minutes (1-10)metadatatagslistList active files for the current budget. Results are newest first and include preview URLs when available.
Optional fields:
tagsdate_fromdate_tolimitoffseturl_expiration_minutesgetGet metadata and a fresh signed download URL for a file.
Required fields:
file_idOptional fields:
url_expiration_minutesdownloadDownload base64 content for files up to 5MB, or get a signed URL for larger files.
Required fields:
file_idOptional fields:
return_contenturl_expiration_minutesdeleteDelete a file permanently.
Required fields:
file_idshareCreate or refresh a password-protected public share link.
Required fields:
file_idOptional fields:
password_max_usespassword_max_minutesaccess_historyView share access history for a file.
Required fields:
file_idOptional fields:
limitupdate_metadataUpdate metadata and tags on a file.
Required fields:
file_idOptional fields:
metadatatagsadd_tagsremove_tagsextend_expirationExtend expiration by 7 days.
Required fields:
file_idupload_url; you must then PUT the file bytes to that URL using the returned headers.list is budget-scoped and includes preview URLs when the file type supports preview.download with return_content: true is limited to files 5MB or smaller.extend_expiration adds 7 days each time it is called.File Management on AgentPMT.access_history, delete, download, extend_expiration, get, list, share, update_metadata, upload_large, upload_standard.No categories or industry tags are published for this tool.
Complete generated action schema: ./schema.md.
Supported action count: 10.
x402 action routes are enabled and listed in ./schema.md.
access_history (action slug: access-history): View password-protected share access history for a file. Price: 0 credits. Parameters: file_id, limit.delete (action slug: delete): Permanently delete a file from storage. Price: 0 credits. Parameters: file_id.download (action slug: download): Download file content as base64 for files up to 5MB, or return a signed URL for larger files. Price: 0 credits. Parameters: file_id, return_content, url_expiration_minutes.extend_expiration (action slug: extend-expiration): Extend a file's expiration date by 7 days from the current expiration. Price: 10 credits. Parameters: file_id.get (action slug: get): Get file metadata and a fresh signed download URL for a specific file. Price: 0 credits. Parameters: file_id, url_expiration_minutes.list (action slug: list): List active uploaded files for the current budget with optional filtering and pagination. Returns newest files first and includes cached preview URLs when available. Price: 0 credits. Parameters: date_from, date_to, limit, offset, tags, url_expiration_minutes.share (action slug: share): Create or refresh a password-protected public share link for an existing file. Price: 5 credits. Parameters: file_id, password_max_minutes, password_max_uses.update_metadata (action slug: update-metadata): Update metadata and tags on a file. Price: 5 credits. Parameters: add_tags, file_id, metadata, remove_tags, tags.upload_large (action slug: upload-large): Generate a signed upload URL for a file over 10MB and up to 100MB. After receiving the URL, perform a PUT request with the exact file bytes and returned headers. Price: 20 credits. Parameters: content_length_bytes, content_type, expiration_days, filename, metadata, password_max_minutes, password_max_uses, shared, plus 1 more.upload_standard (action slug: upload-standard): Generate a signed upload URL for a file up to 10MB. After receiving the URL, perform a PUT request with the exact file bytes and returned headers. Price: 10 credits. Parameters: content_length_bytes, content_type, expiration_days, filename, metadata, password_max_minutes, password_max_uses, shared, plus 1 more.Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.
agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "file-management".agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "file-management", or call this product with action: "get_instructions" when the product tool is already selected.MCP schema lookup through the main AgentPMT MCP server:
{
"method": "tools/call",
"params": {
"name": "AgentPMT-Tool-Search-and-Execution",
"arguments": {
"action": "get_schema",
"tool_id": "file-management"
}
}
}
For live examples, keep the same MCP tool and use these arguments:
{
"action": "get_instructions",
"tool_id": "file-management"
}
Authenticated AgentPMT REST schema lookup body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_schema",
"tool_id": "file-management"
}
}
Authenticated AgentPMT REST live examples body:
{
"name": "agentpmt-tool-search-and-execution",
"parameters": {
"action": "get_instructions",
"tool_id": "file-management"
}
}
Product slug: file-management
Marketplace page: https://www.agentpmt.com/marketplace/file-management
../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.../agentpmt-no-account-agentaddress-x402 to create an AgentAddress and prepare the x402 payment flow.../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.If those setup skills are not installed beside this product skill, use the downloads below.
Core AgentPMT setup skills:
openclaw skills install what-is-agentpmtnpx skills add AgentPMT/agent-skills --skill what-is-agentpmtopenclaw skills install agentpmt-account-mcp-rest-api-setupnpx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setupopenclaw skills install agentpmt-no-account-agentaddress-x402npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402skills.sh install script:
npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup
npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402
MCP call shape after the main AgentPMT MCP server is connected:
{
"method": "tools/call",
"params": {
"name": "File-Management",
"arguments": {
"action": "access_history",
"file_id": "example file id",
"limit": 1
}
}
}
Use the exact tool name returned by tools/list; the name above is the expected readable form.
Authenticated AgentPMT REST call body:
{
"name": "file-management",
"parameters": {
"action": "access_history",
"file_id": "example file id",
"limit": 1
}
}
Use the setup skill for the account connection details before making REST calls.
x402 action path: POST https://www.agentpmt.com/api/external/tools/file-management/actions/access-history/invoke.
x402 wallet scope:
passed or success-style boolean, use it as the workflow gate.get_schema or get_instructions before retrying.access_history fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.what-is-agentpmt, page: https://clawhub.ai/agentpmt/what-is-agentpmt; skills.sh: npx skills add AgentPMT/agent-skills --skill what-is-agentpmt)agentpmt-account-mcp-rest-api-setup, page: https://clawhub.ai/agentpmt/agentpmt-account-mcp-rest-api-setup; skills.sh: npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup)agentpmt-no-account-agentaddress-x402, page: https://clawhub.ai/agentpmt/agentpmt-no-account-agentaddress-x402; skills.sh: npx skills add AgentPMT/agent-skills --skill agentpmt-no-account-agentaddress-x402)