Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →
MCP ServerToolsAssetsPOST

Assets

Manage assets (e.g. text content, media metadata) linked to robot instances. Use action=“create” to create a new asset. Use action=“update” to update an existing asset. Use action=“list” to get assets.

Input Schema

ParameterTypeDescription
actionstringAction to perform on assets. Enum: create, list, update
asset_idstringAsset UUID (required for update)
namestringAsset name
file_typestringFile type (e.g. text/plain, image/png)
instance_idstringRobot instance UUID (required for create/list)
contentstringText content of the asset
metadataobjectMetadata JSON
limitnumberMax results
offsetnumberPagination offset

REST Endpoint

Actions map to sub-routes: create/create, list/get, update/update.

POST /api/agents/tools/assets/create POST /api/agents/tools/assets/get POST /api/agents/tools/assets/update
POST /api/agents/tools/assets/create Authorization: Bearer YOUR_API_KEY Content-Type: application/json { "instance_id": "INSTANCE_UUID", "name": "My Asset", "file_type": "text/plain", "content": "Asset content here" }

Response:

{ "success": true, "asset": { "id": "...", "name": "My Asset" } }
Last updated on