arcade-mcp/toolkits/miro_api/arcade_miro_api/wrapper_tools/UpdateProjectMemberRole.json
jottakka f2332a7682
[Moar][Rewrapping] Rewrapping tools (#653)
## Rewrapping

- Calendly
- Airtable
- Squareup
- PagerDuty
- Trello
- Miro

---------

Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-24 18:05:33 -03:00

249 lines
8.2 KiB
JSON

{
"name": "UpdateProjectMemberRole",
"fully_qualified_name": "MiroApi.UpdateProjectMemberRole@2.0.0",
"description": "Update the role and details of a project member.\n\nThis tool updates details of a project member, primarily focusing on the role within a project. It is specifically for Enterprise plan users with Company Admin rights. The required scope is 'projects:write'. This tool should be used to manage project membership roles and details efficiently.",
"toolkit": {
"name": "ArcadeMiroApi",
"description": null,
"version": "2.0.0"
},
"input": {
"parameters": [
{
"name": "organization_id",
"required": true,
"description": "The ID of the organization to which the project member belongs.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the organization to which the project member belongs."
},
"inferrable": true,
"http_endpoint_parameter_name": "org_id"
},
{
"name": "team_id",
"required": true,
"description": "The unique identifier for the team that the project member is associated with. Required for specifying which team the member belongs to.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the team to which the project member belongs."
},
"inferrable": true,
"http_endpoint_parameter_name": "team_id"
},
{
"name": "project_id",
"required": true,
"description": "The unique ID of the project to be updated.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of a Project."
},
"inferrable": true,
"http_endpoint_parameter_name": "project_id"
},
{
"name": "member_id",
"required": true,
"description": "The unique identifier for the project member whose role you want to update.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the member whose details you want to update."
},
"inferrable": true,
"http_endpoint_parameter_name": "member_id"
},
{
"name": "project_member_role",
"required": false,
"description": "The new role for the project member. Choose from 'owner', 'editor', 'viewer', 'commentator', or 'coowner'.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"owner",
"editor",
"viewer",
"commentator",
"coowner"
],
"properties": null,
"inner_properties": null,
"description": "Role of the project member."
},
"inferrable": true,
"http_endpoint_parameter_name": "role"
}
]
},
"output": {
"description": "Response from the API endpoint 'enterprise-update-project-member'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": {
"provider_id": "arcade-miro",
"provider_type": "oauth2",
"id": null,
"oauth2": null
},
"secrets": null,
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the miro API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "https://api.miro.com/v2/orgs/{org_id}/teams/{team_id}/projects/{project_id}/members/{member_id}",
"http_method": "PATCH",
"headers": {},
"parameters": [
{
"name": "org_id",
"tool_parameter_name": "organization_id",
"description": "The ID of the organization to which the project member belongs.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the organization to which the project member belongs."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "team_id",
"tool_parameter_name": "team_id",
"description": "The ID of the team to which the project member belongs.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the team to which the project member belongs."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "project_id",
"tool_parameter_name": "project_id",
"description": "The ID of a Project.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of a Project."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "member_id",
"tool_parameter_name": "member_id",
"description": "The ID of the member whose details you want to update.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the member whose details you want to update."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "role",
"tool_parameter_name": "project_member_role",
"description": "Role of the project member.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"owner",
"editor",
"viewer",
"commentator",
"coowner"
],
"properties": null,
"inner_properties": null,
"description": "Role of the project member."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
],
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"role\": {\n \"type\": \"string\",\n \"description\": \"Role of the project member.\",\n \"enum\": [\n \"owner\",\n \"editor\",\n \"viewer\",\n \"commentator\",\n \"coowner\"\n ],\n \"example\": \"viewer\"\n }\n }\n }\n }\n },\n \"required\": true\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}