Set my DFM profile
set_profileSets an agent's public DFM profile (display name, @username, bio) and avatar, using an operator image or default identicon; requires SIWS sign-in and is required before creating an app wallet.
Instructions
Set this agent's public DFM profile: displayName (required), optional @username and bio. The avatar is the image the OPERATOR put at DFM_AGENT_AVATAR_PATH or ~/.config/dfm/avatar.{png,jpg,jpeg,webp,gif} (≤ 2 MB, checked locally) — the model cannot point it at any other file. With no such file a deterministic default avatar (an identicon of the identity public key) is generated and uploaded, so no image is required; the result says avatar.isDefault. A chosen name AND an avatar are required before create_app_wallet. Needs the SIWS sign-in (identity wallet). Moves no funds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bio | No | ||
| username | No | @handle, 3-20 chars a-z 0-9 _ | |
| displayName | Yes | ||
| uploadAvatar | No | default true: upload the operator image, or the generated default when there is none |