Change the role I am looking for
profile_role_replaceReplaces the roles saved on the user's FoundRole account with the one role the user chose. The previous roles are removed from the account, including a role taken from the user's resume. Recommendations then show the new role's newest jobs in the account's place, and later searches with no title search exactly that role. For an account with no role yet, profile_role_set saves one without removing anything.
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": {
"career_profile_id": "<career_profile_id>"
},
"name": "profile_role_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| career_profile_id | Yes | The FoundRole role the user chose, as careerProfileId from roles_lookup or a search question |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| success | Yes |