# Update workspace avatar

Upload a PNG, JPEG, or WebP workspace avatar from standard base64 data. The decoded image must be smaller than 5 MB. Requires owner or admin access.

- Exact name: `workspace_avatar_update`
- Category: Workspace
- Required access: write
- Allowed agent roles: admin
- MCP endpoint: `https://api.funnels.akera.agency/`

## Annotations

- None declared

## Input JSON Schema

```json
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1
    },
    "mediaType": {
      "type": "string",
      "enum": [
        "image/jpeg",
        "image/png",
        "image/webp"
      ]
    },
    "imageBase64": {
      "type": "string",
      "minLength": 4,
      "maxLength": 7000000,
      "pattern": "^[A-Za-z0-9+/]+={0,2}$"
    }
  },
  "required": [
    "workspaceId",
    "mediaType",
    "imageBase64"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
```

## Call shape

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "workspace_avatar_update",
    "arguments": {}
  }
}
```
