manage_profile_hints
List, set, or clear cached profile hints that associate Feishu resources with profiles, fixing stale mappings when a profile loses access.
Instructions
[Plugin v1.3.8] Inspect / set / clear profileHints — the resourceKey → profileName cache the auto-switch middleware uses to remember which profile owns each Feishu resource. Useful when a hint goes stale (e.g., a profile lost access to a doc).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "manage_profile_hints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | list = show all hints; set = upsert one; clear = remove one or all. | |
| resource_key | No | For set/clear: the resourceKey, e.g. "doc:doccnXXX" or "chat:oc_zzz". Omit on clear to wipe all hints. | |
| profile | No | For set: the profile name to associate with the resource_key. |