edubase_post_user_organizations
Assign a user to one or more organizations, updating existing membership when needed. Optionally set job role, department, permissions, restrictions, and send notifications.
Instructions
Assign user to organization(s). Updates membership if already member of an organization.
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": {
"user": "<user>",
"organizations": "<organizations>"
},
"name": "edubase_post_user_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | optional name of job role (or its external identifier if no job role has this name), empty string removes the job role, the job role is kept when not specified or unknown in an organization, the competency assignments of the members with another job role are updated, the competencies they only had through their previous job role are lost | |
| user | Yes | user identification string | |
| notify | No | notify user (default: false) | |
| department | No | optional name of department (or its external identifier if no department has this name), the competency assignments of the members moved to another department are updated, the competencies they only had through their previous department are lost | |
| organizations | Yes | comma-separated list of organization identification strings | |
| permission_custom | No | customize the permission levels of the members inside the department (only used together with department, the permission_ fields not specified default to the ones of the department), members with custom permission levels keep them when the permission levels of the department are changed, set to false to make the members follow the permission levels of the department again, when not specified, custom permission levels are kept for the members staying in the same department and removed when moved to another department | |
| permission_content | No | optional permission level to contents in organization (none / view / report / control / modify / grant / admin) (default: none) | |
| permission_members | No | optional permission level to members in organization (none / department / organization) (default: none) | |
| restriction_library | No | restrict the members from managing the library of the organization (documents, versions and types), even with a sufficient permission level (only available if the library is enabled in the organization, ignored otherwise), left unchanged when not specified (default for new members: false) | |
| permission_organization | No | optional permission level to organization (member / teacher / reporter / supervisor / admin) (default: member) | |
| restriction_competencies | No | restrict the members from managing the competencies of the organization and its members (competencies, requirements, assignments, completions, expiry dates and attachments), even with a sufficient permission level (only available if the library is enabled in the organization, ignored otherwise), left unchanged when not specified (default for new members: false) |