Save the taste profile
save_profileUse this after the user has confirmed style rules, to keep them as their taste profile. Pass the profile_key and the confirmed layout, palette (#RRGGBB), type, texture and hierarchy rules, things to avoid, and notes; send at least one. It replaces the rules saved before. Returns the saved profile. Do not save rules the user has not agreed to.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": [
"Use a high-contrast serif for headlines at 4x the body size."
],
"layout": [
"Left-align one large serif headline over a two-column grid."
],
"palette": [
"#111111",
"#F5F0E6",
"#C0392B"
],
"profile_key": "tp_604a48a85c9a4da5a2a15ba7b4198f1b"
},
"name": "save_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Confirmed typography rules. | |
| avoid | No | Things the user does not want. | |
| notes | No | Anything else the user confirmed. No personal details. | |
| layout | No | Confirmed layout rules, each one short and concrete. | |
| palette | No | Confirmed colors as #RRGGBB. | |
| texture | No | Confirmed texture and finish rules. | |
| hierarchy | No | Confirmed visual hierarchy rules. | |
| profile_key | Yes | The profile_key that add_refs returned. Keep it: it is the only way back to this profile and it is not recoverable. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | UTC date of this answer. | |
| source | Yes | ||
| status | Yes | ||
| profile | Yes | ||
| retention | Yes | ||
| saved_day | Yes |