From b051719768e262eb8cc2b8d84731e8cade8ff86e Mon Sep 17 00:00:00 2001 From: Francisco Liberal Date: Mon, 6 Oct 2025 14:14:59 -0300 Subject: [PATCH 1/2] Add comprehensive Trello API MCP server documentation and examples --- .../productivity/trello-api/page.mdx | 6811 +++++++++++++++++ ...chment_to_trello_card_example_call_tool.js | 33 + ...chment_to_trello_card_example_call_tool.py | 34 + ...ropdown_option_trello_example_call_tool.js | 28 + ...ropdown_option_trello_example_call_tool.py | 29 + .../add_label_to_card_example_call_tool.js | 29 + .../add_label_to_card_example_call_tool.py | 29 + ..._label_to_trello_card_example_call_tool.js | 30 + ..._label_to_trello_card_example_call_tool.py | 29 + ...ember_to_trello_board_example_call_tool.js | 31 + ...ember_to_trello_board_example_call_tool.py | 32 + ...member_to_trello_card_example_call_tool.js | 29 + ...member_to_trello_card_example_call_tool.py | 29 + ...zations_to_enterprise_example_call_tool.js | 33 + ...zations_to_enterprise_example_call_tool.py | 30 + .../add_sticker_to_card_example_call_tool.js | 33 + .../add_sticker_to_card_example_call_tool.py | 34 + ...d_trello_card_comment_example_call_tool.js | 29 + ...d_trello_card_comment_example_call_tool.py | 30 + .../add_trello_webhook_example_call_tool.js | 31 + .../add_trello_webhook_example_call_tool.py | 32 + ...ive_all_cards_in_list_example_call_tool.js | 28 + ...ive_all_cards_in_list_example_call_tool.py | 29 + ...unarchive_list_trello_example_call_tool.js | 29 + ...unarchive_list_trello_example_call_tool.py | 29 + ...lable_guests_on_board_example_call_tool.js | 29 + ...lable_guests_on_board_example_call_tool.py | 30 + ...k_org_transferability_example_call_tool.js | 29 + ...k_org_transferability_example_call_tool.py | 29 + .../create_board_tag_example_call_tool.js | 29 + .../create_board_tag_example_call_tool.py | 29 + ...heckitem_on_checklist_example_call_tool.js | 34 + ...heckitem_on_checklist_example_call_tool.py | 35 + ...ate_checklist_on_card_example_call_tool.js | 31 + ...ate_checklist_on_card_example_call_tool.py | 32 + .../create_custom_emoji_example_call_tool.js | 30 + .../create_custom_emoji_example_call_tool.py | 31 + ...enterprise_auth_token_example_call_tool.js | 29 + ...enterprise_auth_token_example_call_tool.py | 29 + ...create_label_on_board_example_call_tool.js | 30 + ...create_label_on_board_example_call_tool.py | 29 + .../create_member_avatar_example_call_tool.js | 29 + .../create_member_avatar_example_call_tool.py | 29 + ...eate_organization_tag_example_call_tool.js | 28 + ...eate_organization_tag_example_call_tool.py | 29 + ...e_saved_search_trello_example_call_tool.js | 31 + ...e_saved_search_trello_example_call_tool.py | 32 + .../create_trello_board_example_call_tool.js | 41 + .../create_trello_board_example_call_tool.py | 42 + ...ate_trello_board_list_example_call_tool.js | 31 + ...ate_trello_board_list_example_call_tool.py | 32 + .../create_trello_card_example_call_tool.js | 50 + .../create_trello_card_example_call_tool.py | 47 + ...eate_trello_checklist_example_call_tool.js | 31 + ...eate_trello_checklist_example_call_tool.py | 32 + .../create_trello_label_example_call_tool.js | 30 + .../create_trello_label_example_call_tool.py | 29 + .../create_trello_list_example_call_tool.js | 30 + .../create_trello_list_example_call_tool.py | 29 + ...create_trello_webhook_example_call_tool.js | 31 + ...create_trello_webhook_example_call_tool.py | 32 + ...eate_trello_workspace_example_call_tool.js | 31 + ...eate_trello_workspace_example_call_tool.py | 33 + ...ate_enterprise_member_example_call_tool.js | 33 + ...ate_enterprise_member_example_call_tool.py | 34 + ...erprise_join_requests_example_call_tool.js | 33 + ...erprise_join_requests_example_call_tool.py | 29 + ...lete_board_background_example_call_tool.js | 29 + ...lete_board_background_example_call_tool.py | 29 + ...elete_card_attachment_example_call_tool.js | 29 + ...elete_card_attachment_example_call_tool.py | 29 + ...e_checklist_from_card_example_call_tool.js | 29 + ...e_checklist_from_card_example_call_tool.py | 29 + ...stom_board_background_example_call_tool.js | 29 + ...stom_board_background_example_call_tool.py | 29 + .../delete_custom_field_example_call_tool.js | 28 + .../delete_custom_field_example_call_tool.py | 29 + ...te_customfield_option_example_call_tool.js | 29 + ...te_customfield_option_example_call_tool.py | 30 + ...member_custom_sticker_example_call_tool.js | 29 + ...member_custom_sticker_example_call_tool.py | 29 + ...member_from_workspace_example_call_tool.js | 29 + ...member_from_workspace_example_call_tool.py | 29 + .../delete_organization_example_call_tool.js | 28 + .../delete_organization_example_call_tool.py | 29 + ...lete_organization_tag_example_call_tool.js | 29 + ...lete_organization_tag_example_call_tool.py | 29 + .../delete_saved_search_example_call_tool.js | 29 + .../delete_saved_search_example_call_tool.py | 29 + .../delete_trello_board_example_call_tool.js | 28 + .../delete_trello_board_example_call_tool.py | 29 + .../delete_trello_card_example_call_tool.js | 28 + .../delete_trello_card_example_call_tool.py | 29 + ...lete_trello_checklist_example_call_tool.js | 28 + ...lete_trello_checklist_example_call_tool.py | 29 + ...trello_checklist_item_example_call_tool.js | 29 + ...trello_checklist_item_example_call_tool.py | 29 + ...trello_comment_action_example_call_tool.js | 28 + ...trello_comment_action_example_call_tool.py | 29 + ...delete_trello_comment_example_call_tool.js | 29 + ...delete_trello_comment_example_call_tool.py | 29 + .../delete_trello_label_example_call_tool.js | 28 + .../delete_trello_label_example_call_tool.py | 29 + ...elete_trello_reaction_example_call_tool.js | 29 + ...elete_trello_reaction_example_call_tool.py | 29 + .../delete_trello_token_example_call_tool.js | 28 + .../delete_trello_token_example_call_tool.py | 29 + ...delete_trello_webhook_example_call_tool.js | 29 + ...delete_trello_webhook_example_call_tool.py | 29 + ...delete_workspace_logo_example_call_tool.js | 28 + ...delete_workspace_logo_example_call_tool.py | 29 + ...ismiss_trello_message_example_call_tool.js | 29 + ...ismiss_trello_message_example_call_tool.py | 29 + .../edit_trello_comment_example_call_tool.js | 30 + .../edit_trello_comment_example_call_tool.py | 32 + ...erate_board_email_key_example_call_tool.js | 28 + ...erate_board_email_key_example_call_tool.py | 29 + ...lo_board_calendar_key_example_call_tool.js | 28 + ...lo_board_calendar_key_example_call_tool.py | 29 + .../get_action_member_example_call_tool.js | 29 + .../get_action_member_example_call_tool.py | 29 + .../get_action_property_example_call_tool.js | 29 + .../get_action_property_example_call_tool.py | 29 + ...ation_compliance_data_example_call_tool.js | 28 + ...ation_compliance_data_example_call_tool.py | 29 + ...ked_notification_keys_example_call_tool.js | 29 + ...ked_notification_keys_example_call_tool.py | 29 + .../get_board_by_list_id_example_call_tool.js | 29 + .../get_board_by_list_id_example_call_tool.py | 29 + .../get_board_checklists_example_call_tool.js | 28 + .../get_board_checklists_example_call_tool.py | 29 + ...t_board_custom_fields_example_call_tool.js | 28 + ...t_board_custom_fields_example_call_tool.py | 29 + .../get_board_field_example_call_tool.js | 29 + .../get_board_field_example_call_tool.py | 29 + .../get_board_for_action_example_call_tool.js | 29 + .../get_board_for_action_example_call_tool.py | 29 + ...t_board_for_checklist_example_call_tool.js | 29 + ...t_board_for_checklist_example_call_tool.py | 29 + .../get_board_members_example_call_tool.js | 28 + .../get_board_members_example_call_tool.py | 29 + ...get_board_memberships_example_call_tool.js | 33 + ...get_board_memberships_example_call_tool.py | 34 + ...ard_notification_info_example_call_tool.js | 29 + ...ard_notification_info_example_call_tool.py | 29 + .../get_board_power_ups_example_call_tool.js | 28 + .../get_board_power_ups_example_call_tool.py | 29 + .../get_board_star_example_call_tool.js | 29 + .../get_board_star_example_call_tool.py | 29 + .../get_board_stars_example_call_tool.js | 29 + .../get_board_stars_example_call_tool.py | 29 + ...rd_attachment_details_example_call_tool.js | 35 + ...rd_attachment_details_example_call_tool.py | 31 + .../get_card_board_info_example_call_tool.js | 29 + .../get_card_board_info_example_call_tool.py | 29 + ...get_card_by_checklist_example_call_tool.js | 28 + ...get_card_by_checklist_example_call_tool.py | 29 + .../get_card_checklists_example_call_tool.js | 32 + .../get_card_checklists_example_call_tool.py | 33 + .../get_card_members_example_call_tool.js | 29 + .../get_card_members_example_call_tool.py | 29 + .../get_card_sticker_example_call_tool.js | 30 + .../get_card_sticker_example_call_tool.py | 31 + .../get_card_stickers_example_call_tool.js | 29 + .../get_card_stickers_example_call_tool.py | 29 + .../get_card_voters_example_call_tool.js | 29 + .../get_card_voters_example_call_tool.py | 29 + ...get_checklist_details_example_call_tool.js | 32 + ...get_checklist_details_example_call_tool.py | 33 + .../get_checklist_field_example_call_tool.js | 29 + .../get_checklist_field_example_call_tool.py | 29 + .../get_checklist_item_example_call_tool.js | 30 + .../get_checklist_item_example_call_tool.py | 29 + .../get_checklist_items_example_call_tool.js | 30 + .../get_checklist_items_example_call_tool.py | 31 + ..._claimable_workspaces_example_call_tool.js | 33 + ..._claimable_workspaces_example_call_tool.py | 34 + ...leted_checklist_items_example_call_tool.js | 29 + ...leted_checklist_items_example_call_tool.py | 29 + ...stom_board_background_example_call_tool.js | 29 + ...stom_board_background_example_call_tool.py | 29 + ...tom_board_backgrounds_example_call_tool.js | 29 + ...tom_board_backgrounds_example_call_tool.py | 29 + ..._custom_field_options_example_call_tool.js | 28 + ..._custom_field_options_example_call_tool.py | 29 + ...wn_customfield_option_example_call_tool.js | 29 + ...wn_customfield_option_example_call_tool.py | 30 + ...get_enterprise_admins_example_call_tool.js | 29 + ...get_enterprise_admins_example_call_tool.py | 29 + ..._enterprise_audit_log_example_call_tool.js | 28 + ..._enterprise_audit_log_example_call_tool.py | 29 + .../get_enterprise_by_id_example_call_tool.js | 41 + .../get_enterprise_by_id_example_call_tool.py | 42 + ...terprise_member_by_id_example_call_tool.js | 32 + ...terprise_member_by_id_example_call_tool.py | 33 + ...et_enterprise_members_example_call_tool.js | 35 + ...et_enterprise_members_example_call_tool.py | 36 + ...enterprise_signup_url_example_call_tool.js | 32 + ...enterprise_signup_url_example_call_tool.py | 33 + .../get_enterprise_users_example_call_tool.js | 36 + .../get_enterprise_users_example_call_tool.py | 37 + ...ltered_lists_on_board_example_call_tool.js | 29 + ...ltered_lists_on_board_example_call_tool.py | 29 + ...ed_trello_board_cards_example_call_tool.js | 29 + ...ed_trello_board_cards_example_call_tool.py | 29 + ...et_invited_workspaces_example_call_tool.js | 29 + ...et_invited_workspaces_example_call_tool.py | 29 + .../get_list_actions_example_call_tool.js | 29 + .../get_list_actions_example_call_tool.py | 29 + .../get_lists_on_board_example_call_tool.js | 32 + .../get_lists_on_board_example_call_tool.py | 33 + ...mber_board_background_example_call_tool.js | 30 + ...mber_board_background_example_call_tool.py | 31 + ...tom_board_backgrounds_example_call_tool.js | 28 + ...tom_board_backgrounds_example_call_tool.py | 29 + ...t_member_custom_emoji_example_call_tool.js | 30 + ...t_member_custom_emoji_example_call_tool.py | 31 + ..._member_custom_emojis_example_call_tool.js | 28 + ..._member_custom_emojis_example_call_tool.py | 29 + ...member_custom_sticker_example_call_tool.js | 30 + ...member_custom_sticker_example_call_tool.py | 31 + ...member_invited_boards_example_call_tool.js | 29 + ...member_invited_boards_example_call_tool.py | 29 + ...notification_settings_example_call_tool.js | 28 + ...notification_settings_example_call_tool.py | 29 + ..._member_notifications_example_call_tool.js | 39 + ..._member_notifications_example_call_tool.py | 40 + .../get_member_property_example_call_tool.js | 29 + .../get_member_property_example_call_tool.py | 29 + ...t_member_trello_cards_example_call_tool.js | 29 + ...t_member_trello_cards_example_call_tool.py | 29 + ...ber_uploaded_stickers_example_call_tool.js | 28 + ...ber_uploaded_stickers_example_call_tool.py | 29 + ...get_member_workspaces_example_call_tool.js | 31 + ...get_member_workspaces_example_call_tool.py | 32 + ...get_notification_card_example_call_tool.js | 29 + ...get_notification_card_example_call_tool.py | 29 + ..._notification_creator_example_call_tool.js | 29 + ..._notification_creator_example_call_tool.py | 29 + ...t_notification_member_example_call_tool.js | 29 + ...t_notification_member_example_call_tool.py | 29 + ...fication_organization_example_call_tool.js | 29 + ...fication_organization_example_call_tool.py | 29 + ...notification_property_example_call_tool.js | 29 + ...notification_property_example_call_tool.py | 29 + ...t_open_cards_on_board_example_call_tool.js | 28 + ...t_open_cards_on_board_example_call_tool.py | 29 + ..._organization_details_example_call_tool.js | 28 + ..._organization_details_example_call_tool.py | 29 + ...nization_field_trello_example_call_tool.js | 29 + ...nization_field_trello_example_call_tool.py | 29 + ...ganization_membership_example_call_tool.js | 30 + ...ganization_membership_example_call_tool.py | 31 + ...rganization_of_action_example_call_tool.js | 29 + ...rganization_of_action_example_call_tool.py | 29 + ...enterprise_workspaces_example_call_tool.js | 30 + ...enterprise_workspaces_example_call_tool.py | 31 + ...er_privacy_compliance_example_call_tool.js | 28 + ...er_privacy_compliance_example_call_tool.py | 29 + .../get_reaction_info_example_call_tool.js | 31 + .../get_reaction_info_example_call_tool.py | 32 + ...on_summary_for_action_example_call_tool.js | 28 + ...on_summary_for_action_example_call_tool.py | 29 + ..._saved_search_details_example_call_tool.js | 29 + ..._saved_search_details_example_call_tool.py | 29 + ...fic_checkitem_on_card_example_call_tool.js | 30 + ...fic_checkitem_on_card_example_call_tool.py | 31 + ...errable_organizations_example_call_tool.js | 33 + ...errable_organizations_example_call_tool.py | 29 + ...trello_action_creator_example_call_tool.js | 29 + ...trello_action_creator_example_call_tool.py | 29 + .../get_trello_action_example_call_tool.js | 35 + .../get_trello_action_example_call_tool.py | 36 + ...et_trello_action_list_example_call_tool.js | 29 + ...et_trello_action_list_example_call_tool.py | 29 + ..._trello_board_details_example_call_tool.js | 44 + ..._trello_board_details_example_call_tool.py | 45 + ...get_trello_card_by_id_example_call_tool.js | 46 + ...get_trello_card_by_id_example_call_tool.py | 47 + ...rd_custom_field_items_example_call_tool.js | 28 + ...rd_custom_field_items_example_call_tool.py | 29 + ...ello_card_from_action_example_call_tool.js | 29 + ...ello_card_from_action_example_call_tool.py | 29 + .../get_trello_card_list_example_call_tool.js | 29 + .../get_trello_card_list_example_call_tool.py | 29 + ...ello_card_plugin_data_example_call_tool.js | 28 + ...ello_card_plugin_data_example_call_tool.py | 29 + ..._trello_card_property_example_call_tool.js | 29 + ..._trello_card_property_example_call_tool.py | 29 + ...t_trello_custom_field_example_call_tool.js | 28 + ...t_trello_custom_field_example_call_tool.py | 29 + ...get_trello_label_info_example_call_tool.js | 29 + ...get_trello_label_info_example_call_tool.py | 29 + ...get_trello_list_cards_example_call_tool.js | 28 + ...get_trello_list_cards_example_call_tool.py | 29 + .../get_trello_list_info_example_call_tool.js | 29 + .../get_trello_list_info_example_call_tool.py | 29 + ...trello_member_details_example_call_tool.js | 48 + ...trello_member_details_example_call_tool.py | 49 + ...t_trello_notification_example_call_tool.js | 42 + ...t_trello_notification_example_call_tool.py | 43 + ...llo_notification_list_example_call_tool.js | 29 + ...llo_notification_list_example_call_tool.py | 29 + .../get_trello_plugin_example_call_tool.js | 28 + .../get_trello_plugin_example_call_tool.py | 29 + ...ello_token_owner_info_example_call_tool.js | 29 + ...ello_token_owner_info_example_call_tool.py | 30 + ...trello_token_webhooks_example_call_tool.js | 28 + ...trello_token_webhooks_example_call_tool.py | 29 + ..._trello_webhook_by_id_example_call_tool.js | 28 + ..._trello_webhook_by_id_example_call_tool.py | 29 + ..._trello_webhook_field_example_call_tool.js | 29 + ..._trello_webhook_field_example_call_tool.py | 29 + ...ce_scoped_plugin_data_example_call_tool.js | 28 + ...ce_scoped_plugin_data_example_call_tool.py | 29 + ...list_action_reactions_example_call_tool.js | 30 + ...list_action_reactions_example_call_tool.py | 31 + .../list_available_emoji_example_call_tool.js | 29 + .../list_available_emoji_example_call_tool.py | 29 + .../list_board_power_ups_example_call_tool.js | 29 + .../list_board_power_ups_example_call_tool.py | 29 + .../list_card_actions_example_call_tool.js | 30 + .../list_card_actions_example_call_tool.py | 31 + ...list_card_attachments_example_call_tool.js | 30 + ...list_card_attachments_example_call_tool.py | 31 + .../list_member_actions_example_call_tool.js | 29 + .../list_member_actions_example_call_tool.py | 29 + ...ist_member_app_tokens_example_call_tool.js | 29 + ...ist_member_app_tokens_example_call_tool.py | 29 + ...st_member_board_stars_example_call_tool.js | 28 + ...st_member_board_stars_example_call_tool.py | 29 + ...member_saved_searches_example_call_tool.js | 28 + ...member_saved_searches_example_call_tool.py | 29 + ...anization_collections_example_call_tool.js | 28 + ...anization_collections_example_call_tool.py | 29 + .../list_user_boards_example_call_tool.js | 33 + .../list_user_boards_example_call_tool.py | 34 + ...ist_workspace_actions_example_call_tool.js | 28 + ...ist_workspace_actions_example_call_tool.py | 29 + ...list_workspace_boards_example_call_tool.js | 30 + ...list_workspace_boards_example_call_tool.py | 31 + ...ist_workspace_members_example_call_tool.js | 28 + ...ist_workspace_members_example_call_tool.py | 29 + ...workspace_memberships_example_call_tool.js | 30 + ...workspace_memberships_example_call_tool.py | 31 + ...mber_enterprise_admin_example_call_tool.js | 29 + ...mber_enterprise_admin_example_call_tool.py | 29 + ...ll_notifications_read_example_call_tool.js | 32 + ...ll_notifications_read_example_call_tool.py | 30 + ...rd_notifications_read_example_call_tool.js | 28 + ...rd_notifications_read_example_call_tool.py | 29 + ...rello_board_as_viewed_example_call_tool.js | 28 + ...rello_board_as_viewed_example_call_tool.py | 29 + .../modify_trello_action_example_call_tool.js | 29 + .../modify_trello_action_example_call_tool.py | 31 + ...ove_all_cards_in_list_example_call_tool.js | 30 + ...ove_all_cards_in_list_example_call_tool.py | 31 + .../move_list_to_board_example_call_tool.js | 29 + .../move_list_to_board_example_call_tool.py | 29 + .../remove_card_sticker_example_call_tool.js | 29 + .../remove_card_sticker_example_call_tool.py | 29 + ...remove_checklist_item_example_call_tool.js | 29 + ...remove_checklist_item_example_call_tool.py | 29 + ...move_enterprise_admin_example_call_tool.js | 29 + ...move_enterprise_admin_example_call_tool.py | 30 + ...emove_label_from_card_example_call_tool.js | 29 + ...emove_label_from_card_example_call_tool.py | 29 + ...move_member_from_card_example_call_tool.js | 29 + ...move_member_from_card_example_call_tool.py | 29 + ...ber_from_trello_board_example_call_tool.js | 29 + ...ber_from_trello_board_example_call_tool.py | 29 + ...member_vote_from_card_example_call_tool.js | 29 + ...member_vote_from_card_example_call_tool.py | 29 + ...ation_from_enterprise_example_call_tool.js | 29 + ...ation_from_enterprise_example_call_tool.py | 29 + ...remove_trello_webhook_example_call_tool.js | 28 + ...remove_trello_webhook_example_call_tool.py | 29 + ...rkspace_google_domain_example_call_tool.js | 28 + ...rkspace_google_domain_example_call_tool.py | 29 + ...ce_invite_restriction_example_call_tool.js | 28 + ...ce_invite_restriction_example_call_tool.py | 29 + ...move_workspace_member_example_call_tool.js | 29 + ...move_workspace_member_example_call_tool.py | 29 + .../rename_trello_list_example_call_tool.js | 30 + .../rename_trello_list_example_call_tool.py | 31 + ..._organization_exports_example_call_tool.js | 28 + ..._organization_exports_example_call_tool.py | 29 + ...eve_trello_token_info_example_call_tool.js | 30 + ...eve_trello_token_info_example_call_tool.py | 31 + ...trieve_trello_webhook_example_call_tool.js | 29 + ...trieve_trello_webhook_example_call_tool.py | 29 + ...search_trello_members_example_call_tool.js | 31 + ...search_trello_members_example_call_tool.py | 32 + ...t_email_to_board_list_example_call_tool.js | 29 + ...t_email_to_board_list_example_call_tool.py | 29 + .../set_workspace_logo_example_call_tool.js | 29 + .../set_workspace_logo_example_call_tool.py | 29 + ...star_board_for_member_example_call_tool.js | 30 + ...star_board_for_member_example_call_tool.py | 31 + ...ganization_csv_export_example_call_tool.js | 29 + ...ganization_csv_export_example_call_tool.py | 29 + ...rkspace_member_status_example_call_tool.js | 30 + ...rkspace_member_status_example_call_tool.py | 31 + ...fer_org_to_enterprise_example_call_tool.js | 29 + ...fer_org_to_enterprise_example_call_tool.py | 29 + ...lo_batch_get_requests_example_call_tool.js | 39 + ...lo_batch_get_requests_example_call_tool.py | 38 + .../trello_search_example_call_tool.js | 46 + .../trello_search_example_call_tool.py | 47 + .../unstar_trello_board_example_call_tool.js | 29 + .../unstar_trello_board_example_call_tool.py | 29 + ...date_board_background_example_call_tool.js | 31 + ...date_board_background_example_call_tool.py | 32 + ..._board_email_position_example_call_tool.js | 29 + ..._board_email_position_example_call_tool.py | 29 + ...date_board_membership_example_call_tool.js | 31 + ...date_board_membership_example_call_tool.py | 32 + ...rd_sidebar_preference_example_call_tool.js | 29 + ...rd_sidebar_preference_example_call_tool.py | 29 + ...pdate_checklist_field_example_call_tool.js | 30 + ...pdate_checklist_field_example_call_tool.py | 31 + ...hecklist_item_on_card_example_call_tool.js | 31 + ...hecklist_item_on_card_example_call_tool.py | 32 + ...stom_board_background_example_call_tool.js | 31 + ...stom_board_background_example_call_tool.py | 32 + ...member_license_status_example_call_tool.js | 30 + ...member_license_status_example_call_tool.py | 29 + ...fication_blocked_keys_example_call_tool.js | 30 + ...fication_blocked_keys_example_call_tool.py | 31 + ...ification_read_status_example_call_tool.js | 29 + ...ification_read_status_example_call_tool.py | 29 + ...e_notification_status_example_call_tool.js | 29 + ...e_notification_status_example_call_tool.py | 29 + .../update_organization_example_call_tool.js | 40 + .../update_organization_example_call_tool.py | 41 + ..._organization_members_example_call_tool.js | 31 + ..._organization_members_example_call_tool.py | 32 + .../update_saved_search_example_call_tool.js | 32 + .../update_saved_search_example_call_tool.py | 33 + ...r_activity_preference_example_call_tool.js | 29 + ...r_activity_preference_example_call_tool.py | 29 + ...r_board_actions_prefs_example_call_tool.js | 29 + ...r_board_actions_prefs_example_call_tool.py | 29 + ...tarred_board_position_example_call_tool.js | 30 + ...tarred_board_position_example_call_tool.py | 31 + ...ticker_on_trello_card_example_call_tool.js | 33 + ...ticker_on_trello_card_example_call_tool.py | 34 + .../update_trello_board_example_call_tool.js | 49 + .../update_trello_board_example_call_tool.py | 50 + ...date_trello_checklist_example_call_tool.js | 30 + ...date_trello_checklist_example_call_tool.py | 31 + ...trello_checklist_item_example_call_tool.js | 36 + ...trello_checklist_item_example_call_tool.py | 37 + ...update_trello_comment_example_call_tool.js | 29 + ...update_trello_comment_example_call_tool.py | 31 + .../update_trello_label_example_call_tool.js | 30 + .../update_trello_label_example_call_tool.py | 31 + ...te_trello_label_field_example_call_tool.js | 30 + ...te_trello_label_field_example_call_tool.py | 31 + .../update_trello_list_example_call_tool.js | 32 + .../update_trello_list_example_call_tool.py | 33 + .../update_trello_member_example_call_tool.js | 36 + .../update_trello_member_example_call_tool.py | 37 + .../update_trello_plugin_example_call_tool.js | 28 + .../update_trello_plugin_example_call_tool.py | 29 + ..._sidebar_members_view_example_call_tool.js | 29 + ..._sidebar_members_view_example_call_tool.py | 29 + ...update_trello_webhook_example_call_tool.js | 32 + ...update_trello_webhook_example_call_tool.py | 33 + .../update_webhook_token_example_call_tool.js | 32 + .../update_webhook_token_example_call_tool.py | 33 + ...date_workspace_member_example_call_tool.js | 30 + ...date_workspace_member_example_call_tool.py | 31 + ...load_board_background_example_call_tool.js | 29 + ...load_board_background_example_call_tool.py | 30 + ...stom_board_background_example_call_tool.js | 29 + ...stom_board_background_example_call_tool.py | 30 + ...upload_custom_sticker_example_call_tool.js | 29 + ...upload_custom_sticker_example_call_tool.py | 29 + .../vote_on_trello_card_example_call_tool.js | 29 + .../vote_on_trello_card_example_call_tool.py | 29 + 481 files changed, 21455 insertions(+) create mode 100644 app/en/mcp-servers/productivity/trello-api/page.mdx create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.py create mode 100644 public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.js create mode 100644 public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.py diff --git a/app/en/mcp-servers/productivity/trello-api/page.mdx b/app/en/mcp-servers/productivity/trello-api/page.mdx new file mode 100644 index 000000000..57b4be785 --- /dev/null +++ b/app/en/mcp-servers/productivity/trello-api/page.mdx @@ -0,0 +1,6811 @@ +# TrelloApi +import StarterToolInfo from "@/app/_components/starter-tool-info"; +import ToolInfo from "@/app/_components/tool-info"; +import Badges from "@/app/_components/badges"; +import TabbedCodeBlock from "@/app/_components/tabbed-code-block"; +import TableOfContents from "@/app/_components/table-of-contents"; +import ToolFooter from "@/app/_components/tool-footer"; +import { Callout } from "nextra/components"; + + + + + + + +The TrelloApi MCP Server offers a comprehensive set of tools for interacting with Trello programmatically. These tools enable agents and apps to: + +- Manage boards, lists, cards, labels, checklists, attachments, stickers, and custom fields. +- Create, update, delete, archive, move, and query boards, lists, and cards (including batch GETs and filtered queries). +- Manage card content and metadata: comments, actions, reactions, votes, members, attachments, stickers, and plugin data. +- Manage board and workspace settings: Power-Ups, backgrounds, email/calendar keys, preferences, and memberships. +- Manage organizations, workspaces, enterprises, and their memberships, roles, transfers, exports, and audit logs. +- Create, update, retrieve, and delete webhooks and API tokens; inspect token and webhook details. +- Search across Trello, list member data, notifications, saved searches, and retrieve various entity-specific fields and properties. +- Handle custom resources: labels, tags, custom fields (options), dropdowns, emojis, stickers, and plugin-related data. + +Use this server to automate Trello workflows, synchronize data, audit activity, and build integrations that require full access to Trello boards, members, and enterprise/workspace management. + +## Available Tools + + + + + If you need to perform an action that's not listed here, you can [get in touch + with us](mailto:contact@arcade.dev) to request a new tool, or [create your + own tools](/home/build-tools/create-a-mcp-server). + + +## TrelloApi.GetTrelloAction + +
+ + +Retrieve details of a specific Trello action by ID. + +**Parameters** + +- **action_id** (`string`, required) The unique ID of the Trello action to retrieve details for. +- **action_fields** (`string`, optional) Specify 'all' or provide a comma-separated list of specific action fields to retrieve. +- **member_fields_list** (`string`, optional) Specify 'all' or list member fields (comma-separated) to retrieve. +- **member_creator_fields** (`string`, optional) Specify `all` or list member fields to include for the action's creator. +- **include_display** (`boolean`, optional) Include display details for the action. Accepts a boolean value. +- **include_entities** (`boolean`, optional) Set to true to include entities related to the action in the response. +- **include_member** (`boolean`, optional) A boolean to specify whether to include the member object related to the action. +- **include_action_creator** (`boolean`, optional) Include the member object for the creator of the action when true. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloComment + +
+ + +Update a specific comment on Trello. + +**Parameters** + +- **new_comment_text** (`string`, required) The updated text content for the Trello comment. This replaces the current comment text. +- **action_id** (`string`, required) The unique identifier for the action to be updated. Required to specify which comment you want to edit. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloCommentAction + +
+ + +Delete a specific comment action on Trello. + +**Parameters** + +- **action_id** (`string`, required) The ID of the Trello comment action to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetActionProperty + +
+ + +Retrieve a specific property of a Trello action. + +**Parameters** + +- **action_id** (`string`, required) The unique identifier for the Trello action whose property you want to retrieve. +- **action_field** (`string`, required) Select a specific property of a Trello action to retrieve. Options include: id, idMemberCreator, data, type, date, limits, display, memberCreator. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardForAction + +
+ + +Fetch the board associated with a given action ID. + +**Parameters** + +- **action_id** (`string`, required) The ID of the action to fetch the associated board. +- **board_fields** (`string`, optional) Specify 'all' or a comma-separated list of board fields like 'id', 'name', 'desc', etc. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardFromAction + +
+ + +Get information about a Trello card from an action ID. + +**Parameters** + +- **action_id** (`string`, required) The unique ID of the action to retrieve the corresponding Trello card. +- **card_fields** (`string`, optional) Specify `all` or a comma-separated list of card fields to retrieve from the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloActionList + +
+ + +Retrieve the list associated with a specific Trello action. + +**Parameters** + +- **action_id** (`string`, required) The ID of the Trello action to retrieve the associated list details. +- **list_fields** (`string`, optional) Specify `all` or a comma-separated list of list fields to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetActionMember + +
+ + +Retrieve the member associated with a specific action. + +**Parameters** + +- **action_id** (`string`, required) The unique ID of the action to retrieve the associated member details. +- **member_fields** (`string`, optional) Specify `all` or list specific member fields, separated by commas, to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloActionCreator + +
+ + +Retrieve the creator of a Trello action. + +**Parameters** + +- **action_id** (`string`, required) The unique identifier for the Trello action to retrieve the creator. +- **member_fields** (`string`, optional) A comma-separated list of member fields or 'all' to specify which details to retrieve about the member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetOrganizationOfAction + +
+ + +Retrieve organization details for a given action ID. + +**Parameters** + +- **action_id** (`string`, required) The unique identifier for the action whose organization details are being retrieved. +- **organization_fields** (`string`, optional) Specify `all` or a comma-separated list of organization fields like `id,name` to retrieve specific details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ModifyTrelloAction + +
+ + +Update a comment on Trello using the action ID. + +**Parameters** + +- **new_comment_text** (`string`, required) The new text to update the Trello comment with. Ensure it conveys the intended message clearly. +- **action_id** (`string`, required) The ID of the Trello action to be updated. This ID identifies the specific comment action you want to modify. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListActionReactions + +
+ + +Retrieve reactions for a specific Trello action. + +**Parameters** + +- **action_id** (`string`, required) The ID of the Trello action to retrieve reactions for. +- **include_member_as_nested_resource** (`boolean`, optional) Set to true to include member details as a nested resource in the response. +- **include_emoji** (`boolean`, optional) Set to true to load the emoji as a nested resource in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetReactionInfo + +
+ + +Retrieve details of a specific Trello reaction. + +**Parameters** + +- **action_id** (`string`, required) The unique identifier for the Trello action related to the reaction. +- **reaction_id** (`string`, required) The ID of the reaction to fetch details for. +- **include_member_as_nested_resource** (`boolean`, optional) Set to true to load the member as a nested resource. Refer to Members Nested Resource documentation for more details. +- **load_emoji_as_nested_resource** (`boolean`, optional) Specify whether to load the emoji as a nested resource when retrieving reaction information. Set to true to include emoji details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloReaction + +
+ + +Delete a reaction from a Trello action. + +**Parameters** + +- **action_id** (`string`, required) The unique identifier for the Trello action. +- **reaction_id** (`string`, required) The unique identifier for the reaction to be deleted from the Trello action. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetReactionSummaryForAction + +
+ + +Retrieve a summary of reactions for a Trello action. + +**Parameters** + +- **action_id** (`string`, required) The ID of the specific Trello action for which you want to retrieve a reaction summary. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetApplicationComplianceData + +
+ + +Retrieve an application's compliance data from Trello. + +**Parameters** + +- **application_key** (`string`, required) The unique key associated with the application to retrieve its compliance data. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.TrelloBatchGetRequests + +
+ + +Execute multiple GET requests to Trello in one call. + +**Parameters** + +- **api_routes_list** (`string`, required) A list of up to 10 API routes, starting with a forward slash. Do not include the API version number. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardMemberships + +
+ + +Get details on user memberships for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to get membership information for. +- **membership_filter** (`string`, optional) Specify which group of members to retrieve: `admins`, `all`, `none`, `normal`. +- **member_fields_to_display** (`string`, optional) Specify fields to display for the member if `member=true`. Valid values include 'id'. +- **include_activity** (`boolean`, optional) Set to true to include activity details for premium organizations only. +- **display_organization_member_type** (`boolean`, optional) Set to true to show the user's organization membership type, such as 'admin'. +- **include_nested_member_object** (`boolean`, optional) Specify whether to include a nested member object in the response. True includes the object. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloBoardDetails + +
+ + +Retrieve details for a specific Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to retrieve details for. +- **include_actions** (`string`, optional) Indicate whether to include actions related to the board. Set to true to include. +- **board_stars_filter** (`string`, optional) Specify how board stars should be filtered. Use 'mine' to get your starred boards, or 'none' for all other boards. +- **include_card_details** (`string`, optional) Specify if card details should be included as a nested resource in the response. Read more about cards as nested resources. +- **include_checklists** (`string`, optional) Specify whether to include checklists as a nested resource in the response. Accepts a boolean value (true or false). +- **board_fields_to_include** (`string`, optional) Specify which fields of the board to include in the response. Use 'all' or a comma-separated list (e.g., 'name,url'). +- **include_labels_resource** (`string`, optional) Specify whether to include the label details as a nested resource in the response. Typically expected values might be strings such as 'true' or 'false'. +- **include_lists** (`string`, optional) Include details of lists on the Trello board. This is a nested resource. +- **include_members** (`string`, optional) Include member details as a nested resource in the response. Use 'true' to include or leave empty to exclude. +- **include_memberships** (`string`, optional) Include detailed membership information in the response. Set to 'true' to enable. +- **include_card_plugin_data** (`boolean`, optional) Set to true to include card plugin data in the response. Use with the `cards` parameter. +- **include_custom_fields** (`boolean`, optional) Set to true to include custom fields in the board response. +- **include_plugin_data** (`boolean`, optional) Determines whether plugin data for the board should be included in the response. Accepts true or false. +- **include_organization** (`boolean`, optional) Include the organization as a nested resource in the response. Set to true to include. +- **include_organization_plugin_data** (`boolean`, optional) Set to true to include organization pluginData in the response. Must be used with the `organization` parameter. +- **include_my_preferences** (`boolean`, optional) Set to true to include your preferences with the board details. +- **include_tags** (`boolean`, optional) Include tags (also known as collections) that the board belongs to. Set true to retrieve them, false otherwise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloBoard + +
+ + +Update an existing Trello board by ID. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to update. +- **board_new_name** (`string`, optional) The new name for the board. Must be 1 to 16384 characters long. +- **new_board_description** (`string`, optional) A new description for the board, from 0 to 16384 characters long. +- **user_subscribed_status** (`string`, optional) Indicate if the acting user is subscribed to the board. Expected values are 'true' or 'false'. +- **workspace_id_for_board** (`string`, optional) The ID of the Workspace to which the board should be moved. +- **board_permission_level** (`string`, optional) Set the board's permission level to 'org', 'private', or 'public'. +- **board_invitation_permission** (`string`, optional) Specify who can invite people to this board. Choose between 'admins' or 'members'. +- **voting_permission** (`string`, optional) Specify who can vote on this board. Options: disabled, members, observers, org, public. +- **comment_permission** (`string`, optional) Specifies who can comment on cards: disabled, members, observers, org, or public. +- **board_background_id** (`string`, optional) Specify the ID of a custom background or choose from predefined colors: blue, orange, green, red, purple, pink, lime, sky, grey. +- **card_aging_preference** (`string`, optional) Specifies the card aging style on the board. Options: 'pirate', 'regular'. +- **green_label_name** (`string`, optional) Set the name for the green label. Must be 1 to 16384 characters long. +- **yellow_label_name** (`string`, optional) Specify the name for the yellow label on the board. Must be between 1 and 16384 characters. +- **orange_label_name** (`string`, optional) The name for the orange label. Must be 1 to 16384 characters long. +- **red_label_name** (`string`, optional) Name for the red label on the board. It should be 1 to 16384 characters long. +- **purple_label_name** (`string`, optional) Name for the purple label, 1 to 16384 characters long. +- **blue_label_name** (`string`, optional) Specify the name for the blue label, must be 1 to 16384 characters long. +- **is_board_closed** (`boolean`, optional) Indicates if the board is closed. Use `true` to close (archive) the board, `false` to keep it open. +- **allow_workspace_self_join** (`boolean`, optional) Set to true to allow Workspace members to join the board themselves; false to disallow. +- **display_card_covers** (`boolean`, optional) Set to true to display card covers on the board, false to hide them. +- **hide_votes** (`boolean`, optional) Set to true to hide voters on cards; false to show them. +- **enable_calendar_feed** (`boolean`, optional) Set to true to enable the calendar feed; false to disable it. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloBoard + +
+ + +Delete a Trello board by ID. + +**Parameters** + +- **board_id** (`string`, required) The ID of the Trello board to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardField + +
+ + +Retrieve a specific field value from a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to retrieve the field from. +- **board_field_name** (`string`, required) Specify the field name to retrieve from the Trello board. Valid values: closed, dateLastActivity, dateLastView, desc, descData, idMemberCreator, idOrganization, invitations, invited, labelNames, memberships, name, pinned, powerUps, prefs, shortLink, shortUrl, starred, subscribed, url. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardStars + +
+ + +Retrieve board star details from Trello. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier for the Trello board to retrieve star information from. +- **filter_by_board_stars** (`string`, optional) Specify the filter for board stars. Valid values are 'mine' to select boards starred by the current user, or 'none' for no filtering. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardChecklists + +
+ + +Retrieve all checklists from a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board for which to retrieve checklists. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetOpenCardsOnBoard + +
+ + +Retrieve all open cards from a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The ID of the Trello board from which to retrieve all open cards. This must be a valid board ID. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetFilteredTrelloBoardCards + +
+ + +Retrieve filtered cards from a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier for the Trello board from which to retrieve cards. +- **card_filter_type** (`string`, required) Filter for cards on the board. Options: all, closed, complete, incomplete, none, open, visible. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardCustomFields + +
+ + +Get Custom Field Definitions for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to retrieve custom field definitions for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateLabelOnBoard + +
+ + +Create a new label on a Trello board. + +**Parameters** + +- **label_name** (`string`, required) The name of the label to be created, between 1 and 16384 characters. +- **label_color** (`string`, required) Sets the color of the new label. Accepts a label color or `null` for no color. +- **board_id** (`string`, required) The ID of the Trello board where the new label will be created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetListsOnBoard + +
+ + +Retrieve all lists from a specified Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to fetch its lists. +- **card_filter** (`string`, optional) Specify the filter to apply to cards on the list. Options are: 'all', 'closed', 'none', 'open'. +- **card_fields_to_retrieve** (`string`, optional) Specify 'all' or a comma-separated list of card fields to retrieve from the board lists. +- **list_filter** (`string`, optional) Specify a filter to apply to lists: `all`, `closed`, `none`, or `open`. +- **list_fields** (`string`, optional) Specify `all` or a comma-separated list of list fields to retrieve from the Trello board. Use 'all' to access every field available. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloList + +
+ + +Create a new list on a Trello board. + +**Parameters** + +- **list_name** (`string`, required) The name of the list to be created, ranging from 1 to 16384 characters. +- **board_id** (`string`, required) The unique identifier for the Trello board where the list will be created. +- **list_position** (`string`, optional) Defines the position of the new list on the board. Accepts 'top', 'bottom', or a specific positive number for custom ordering. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetFilteredListsOnBoard + +
+ + +Retrieve filtered lists from a Trello board with specific criteria. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier for the Trello board from which to retrieve lists. +- **list_filter** (`string`, required) Filter criteria for the lists on the board. Options are: 'all', 'closed', 'none', 'open'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardMembers + +
+ + +Retrieve the members of a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board whose members you want to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddMemberToTrelloBoard + +
+ + +Add a member to a Trello board. + +**Parameters** + +- **member_type** (`string`, required) Specifies the role of the member on the board. Accepts: admin, normal, observer. +- **board_id** (`string`, required) The ID of the Trello board to which a member will be added. Provide a valid board ID. +- **member_id** (`string`, required) The ID of the member to add to the Trello board. +- **allow_billable_guest** (`boolean`, optional) Optional boolean to allow organization admins to add multi-board guests onto the board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveMemberFromTrelloBoard + +
+ + +Remove a member from a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The ID of the Trello board from which to remove the member. +- **member_id_to_remove** (`string`, required) The ID of the member to remove from the Trello board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateBoardMembership + +
+ + +Update an existing membership on a Trello board. + +**Parameters** + +- **membership_type** (`string`, required) Specifies the role of the member on the board: 'admin', 'normal', or 'observer'. +- **board_id** (`string`, required) The ID of the Trello board to update the membership for. This is required to specify which board is being modified. +- **membership_id_to_add** (`string`, required) The ID of the membership to add to the board. +- **membership_field_type** (`string`, optional) Specify the type of membership field to update. Valid values include all, avatarHash, bio, bioData, confirmed, fullName, idPremOrgsAdmin, initials, memberType, products, status, url, username. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateBoardEmailPosition + +
+ + +Update the email position preference on a Trello board. + +**Parameters** + +- **email_position_preference** (`string`, required) Specify the email address position on the board. Valid values are 'bottom' or 'top'. +- **board_id** (`string`, required) The ID of the Trello board whose email position preference you want to update. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.SetDefaultEmailToBoardList + +
+ + +Change the default list for email-to-board cards. + +**Parameters** + +- **email_list_id** (`string`, required) The ID of the email list to set as the default for email-to-board cards. +- **board_id** (`string`, required) The unique identifier of the Trello board to update. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateBoardSidebarPreference + +
+ + +Update the sidebar visibility preference for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to update the sidebar preference. +- **show_sidebar** (`boolean`, required) Determines if the sidebar should be visible on the board. Set to true to show and false to hide. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateSidebarActivityPreference + +
+ + +Update sidebar activity display preference for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier for the Trello board to update the sidebar activity preference. +- **show_sidebar_activity** (`boolean`, required) Set to true to display the sidebar activity; false to hide it. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateSidebarBoardActionsPrefs + +
+ + +Update the showSidebarBoardActions preference on a board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to update the sidebar actions preference. +- **show_sidebar_board_actions** (`boolean`, required) Set to 'true' to show sidebar board actions, or 'false' to hide them. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloSidebarMembersView + +
+ + +Update the sidebar members view preference on a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to update the sidebar members view preference. +- **show_sidebar_members** (`boolean`, required) Set to true to show members of the board in the sidebar; false to hide them. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloBoard + +
+ + +Create a new board in Trello. + +**Parameters** + +- **board_name** (`string`, required) The name of the new Trello board. Must be 1 to 16384 characters long. +- **board_description** (`string`, optional) A new description for the board, ranging from 0 to 16384 characters. +- **workspace_id_or_name** (`string`, optional) The ID or name of the Workspace where the board will be created. +- **source_board_id** (`string`, optional) The ID of the board to copy into the new board. If provided, the new board will be a copy of the specified board. +- **keep_original_cards** (`string`, optional) Specify if cards from the original board should be retained in the new board. Use 'cards' to keep them or 'none' to exclude them. +- **enable_power_ups** (`string`, optional) Specifies which Power-Ups to enable on the new board. Options include: `all`, `calendar`, `cardAging`, `recap`, `voting`. +- **board_permission_level** (`string`, optional) Specifies the permission level of the board. Choose from 'org', 'private', or 'public'. +- **set_voting_permissions** (`string`, optional) Set who can vote on the board. Options: 'disabled', 'members', 'observers', 'org', 'public'. +- **comment_permissions** (`string`, optional) Specifies who can comment on cards on this board. Options: `disabled`, `members`, `observers`, `org`, `public`. +- **invitation_permission_level** (`string`, optional) Specifies who can invite users to join the board. Options: 'members' or 'admins'. +- **board_background_color** (`string`, optional) Select a background color for the board. Options are: `blue`, `orange`, `green`, `red`, `purple`, `pink`, `lime`, `sky`, `grey`, or a custom background ID. +- **card_aging_type** (`string`, optional) Type of card aging for the board. Choose 'pirate' or 'regular'. +- **use_default_labels** (`boolean`, optional) Set to true to use the default set of labels. +- **add_default_lists** (`boolean`, optional) Determines if the default lists (To Do, Doing, Done) should be added to the board. Ignored if `idBoardSource` is provided. +- **allow_self_join** (`boolean`, optional) Set to true to allow users to join the board themselves; false requires an invitation. +- **enable_card_covers** (`boolean`, optional) Set to true to enable card covers on the board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GenerateTrelloBoardCalendarKey + +
+ + +Generates a calendar key for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board for which to generate a calendar key. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GenerateBoardEmailKey + +
+ + +Generate an email key for a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board for which to generate an email key. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateBoardTag + +
+ + +Create a new tag for a Trello board. + +**Parameters** + +- **organization_tag_id** (`string`, required) Provide the ID of a tag from the organization this board belongs to. +- **board_id** (`string`, required) The unique identifier of the Trello board where the tag will be created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MarkTrelloBoardAsViewed + +
+ + +Marks a Trello board as viewed for a user. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier of the Trello board to be marked as viewed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardPowerUps + +
+ + +Retrieve the enabled Power-Ups on a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The ID of the Trello Board for which to retrieve enabled Power-Ups. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListBoardPowerUps + +
+ + +Retrieve the Power-Ups enabled on a Trello board. + +**Parameters** + +- **board_id** (`string`, required) The unique identifier for the Trello board to list its Power-Ups. +- **power_up_status_filter** (`string`, optional) Specify whether to list 'enabled' or 'available' Power-Ups on the board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloCard + +
+ + +Create a new card in Trello. + +**Parameters** + +- **list_id_for_card** (`string`, required) The ID of the list where the new card will be created. +- **card_name** (`string`, optional) The title or name of the card to be created in Trello. +- **card_description** (`string`, optional) A detailed text description for the Trello card. This helps in adding more context or information about the card's purpose or content. +- **card_position** (`string`, optional) Position of the new card. Use 'top', 'bottom', or a specific float value. +- **card_due_date** (`string`, optional) The due date for the Trello card, formatted as a string. Use ISO 8601 format (YYYY-MM-DD) for consistency. +- **start_date** (`string`, optional) The start date of the card in YYYY-MM-DD format, or `null` if not applicable. +- **member_ids_to_add** (`array[json]`, optional) A list of Trello member IDs to add to the card. +- **label_ids** (`array[json]`, optional) List of label IDs to add to the card. Provide IDs as strings in a list format. +- **attachment_url** (`string`, optional) A URL starting with `http://` or `https://` to be attached to the card upon creation. +- **attachment_file_path** (`string`, optional) The local file path to be attached to the Trello card. This file will be uploaded when the card is created. +- **attachment_mime_type** (`string`, optional) The MIME type of the attachment for the Trello card. Maximum length is 256 characters. +- **copy_card_source_id** (`string`, optional) The ID of a card to copy properties from into the new card. +- **copy_properties_from_source** (`string`, optional) Specify properties to copy if using `idCardSource`. Use `all` or a comma-separated list of: `attachments,checklists,customFields,comments,due,start,labels,members,stickers`. +- **map_view_address** (`string`, optional) The address for use with the Map View in Trello. This can enhance location-based features. +- **location_name** (`string`, optional) The name of the location for use with the Map View in Trello. +- **map_coordinates** (`string`, optional) Coordinates for the Map View in the format latitude,longitude. +- **card_display_role** (`string`, optional) Specifies how the card should be displayed. Options: `separator` for visual separation, `board` for linking to a Trello board, `mirror` for linking to a Trello card, and `link` for a general URL link. +- **card_completion_status** (`boolean`, optional) Indicate if the card's status is complete. True means the card is complete, and false means it is incomplete. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardById + +
+ + +Retrieve Trello card details using card ID. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card to retrieve details for. +- **card_fields_to_retrieve** (`string`, optional) `all` or a comma-separated list of fields to retrieve for the Trello card. Defaults: badges, checkItemStates, closed, dateLastActivity, desc, descData, due, start, idBoard, idChecklists, idLabels, idList, idMembers, idShort, idAttachmentCover, manualCoverAttachment, labels, name, pos, shortUrl, url +- **include_action_details** (`string`, optional) Specifies whether to include action details related to the card. Refer to Trello's Actions Nested Resource for options. +- **include_attachments** (`string`, optional) Specify 'true', 'false', or 'cover' to determine the type of attachments to return. +- **attachment_fields** (`string`, optional) Specify `all` or a comma-separated list of attachment fields to retrieve for the card. +- **member_fields_selection** (`string`, optional) Specify 'all' or a comma-separated list of member fields like avatarHash, fullName, initials, username. Defaults to these fields if not specified. +- **member_voted_fields** (`string`, optional) Specify 'all' or a comma-separated list of member fields like 'avatarHash, fullName, initials, username'. Defaults to specific fields if not provided. +- **include_checklists** (`string`, optional) Specify whether to include checklists in the card data. Use 'all' or 'none'. +- **checklist_fields** (`string`, optional) Specify 'all' or a comma-separated list of fields (idBoard, idCard, name, pos) to return for checklists. +- **board_fields_to_return** (`string`, optional) Specify 'all' or a comma-separated list of board fields like name, desc, idOrganization. Defaults are name, desc, descData, closed, idOrganization, pinned, url, prefs. +- **sticker_fields** (`string`, optional) Specify `all` or a comma-separated list of sticker fields to retrieve. +- **include_card_members** (`boolean`, optional) Set to true to include member objects on the card, false to exclude them. +- **include_members_who_voted** (`boolean`, optional) Set to `true` to return member objects for members who voted on the card; set to `false` to exclude them. +- **include_check_item_states** (`boolean`, optional) Set to true to include check item states in the Trello card details response. +- **include_board_object** (`boolean`, optional) Set to true to return the board object the card is on. +- **include_lists_nested_resource** (`boolean`, optional) Specify whether to include information about the Lists Nested Resource for the card. Use a boolean value. +- **include_plugin_data** (`boolean`, optional) Set to true to include pluginData on the card with the response. +- **include_stickers** (`boolean`, optional) Set to true to include sticker models in the response. +- **include_custom_field_items** (`boolean`, optional) Set to true to include custom field items in the card details, or false to exclude them. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloCard + +
+ + +Deletes a card from Trello by ID. + +**Parameters** + +- **card_id_to_delete** (`string`, required) The unique ID of the Trello card to delete. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardProperty + +
+ + +Retrieve a specific field from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to retrieve the property from. +- **card_field_name** (`string`, required) Specify which field of the Trello card to retrieve. Must be one of the predefined options such as 'id', 'name', 'url', etc. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListCardActions + +
+ + +Retrieve all actions performed on a specific Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to fetch actions for. +- **action_type_filter** (`string`, optional) Comma-separated list of action types to filter the card actions. Refer to Trello's action types documentation for possible values. +- **results_page_number** (`number`, optional) Specify the page number for the actions results. Each page returns 50 actions. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListCardAttachments + +
+ + +Retrieve attachments from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card to retrieve attachments from. +- **attachment_fields** (`string`, optional) Specify 'all' or a comma-separated list of attachment fields to retrieve. Determines which attachment details are returned for the card. +- **restrict_to_cover_attachment** (`string`, optional) Specify 'cover' to limit results to only the cover attachment of the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddAttachmentToTrelloCard + +
+ + +Add an attachment to a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to which the attachment will be added. This is a required parameter. +- **attachment_name** (`string`, optional) The name of the attachment. Provide a descriptive title, maximum length 256 characters. +- **attachment_file** (`string`, optional) The file to attach as multipart/form-data. Provide the file path or binary data. +- **attachment_mime_type** (`string`, optional) The MIME type of the attachment. Example: 'image/png'. Max length 256. +- **attachment_url** (`string`, optional) A URL to attach to the Trello card, starting with `http://` or `https://`. +- **use_attachment_as_cover** (`boolean`, optional) Set to true to use the new attachment as a cover for the card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardAttachmentDetails + +
+ + +Retrieve specific attachment details from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card containing the attachment. +- **attachment_id** (`string`, required) The unique ID of the attachment to fetch details for. +- **attachment_fields** (`array[json]`, optional) List of specific attachment fields to include in the response. Accepts an array of field names. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteCardAttachment + +
+ + +Delete an attachment from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which the attachment will be deleted. +- **attachment_id_to_delete** (`string`, required) The ID of the attachment you want to delete from the specified Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardBoardInfo + +
+ + +Retrieve the board details for a specific Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card whose board information is to be retrieved. +- **board_field_selection** (`string`, optional) `all` or specify board fields as a comma-separated list (e.g., "name,desc") to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCompletedChecklistItems + +
+ + +Fetch the completed checklist items on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to retrieve checklist item states. +- **checklist_item_fields** (`string`, optional) Specify 'all' or a comma-separated list of fields (`idCheckItem`, `state`) for the checklist items. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardChecklists + +
+ + +Retrieve checklists from a specific Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card for which to retrieve the checklists. Required for identifying the specific card. +- **include_check_items** (`string`, optional) Specify 'all' to include all checkItems or 'none' to exclude them on the card's checklists. +- **checkitem_fields_selection** (`string`, optional) Specify `all` or a comma-separated list of fields for checklist items: `name`, `nameData`, `pos`, `state`, `type`, `due`, `dueReminder`, `idMember`. +- **include_all_checklists** (`string`, optional) Specify 'all' to retrieve all checklists or 'none' for none. +- **card_info_fields** (`string`, optional) Specify 'all' or a comma-separated list of: 'idBoard, idCard, name, pos' for card fields to return. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateChecklistOnCard + +
+ + +Create a new checklist on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The ID of the Trello card where the checklist will be created. +- **checklist_name** (`string`, optional) The name for the new checklist on the card. +- **source_checklist_id** (`string`, optional) The ID of a source checklist to copy into the new one being created on the card. +- **checklist_position_on_card** (`string`, optional) Specify the position of the checklist on the card. Can be 'top', 'bottom', or a positive number indicating the position. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetSpecificCheckitemOnCard + +
+ + +Retrieve a specific checkItem from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to retrieve the checkItem from. +- **checkitem_id** (`string`, required) The unique identifier of the checkItem to retrieve from the Trello card. +- **checkitem_fields** (`string`, optional) Specify 'all' or provide a comma-separated list of attributes (e.g., 'name,pos,state'). + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloChecklistItem + +
+ + +Update an item in a Trello card checklist. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card that contains the checklist item. +- **checkitem_id** (`string`, required) The unique ID of the checklist item to update on the Trello card. +- **new_checklist_item_name** (`string`, optional) The new name for the checklist item in a Trello card. +- **checkitem_state** (`string`, optional) Specify the state of the checklist item, either `complete` or `incomplete`. +- **checklist_id** (`string`, optional) The unique ID of the checklist containing the item to update. +- **position** (`string`, optional) Position of the checklist item: `top`, `bottom`, or a numerical value for specific position. +- **checkitem_due_date** (`string`, optional) A due date for the checklist item; expected format is a date string. +- **due_reminder_minutes** (`number`, optional) Specify the number of minutes before the due date when a reminder should be sent for the checkitem. +- **member_id_to_remove** (`string`, optional) The ID of the member to remove from the Trello card checklist item. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloChecklistItem + +
+ + +Delete a checklist item from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card from which to delete a checklist item. +- **checkitem_id** (`string`, required) The ID of the checklist item to be deleted from the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardList + +
+ + +Retrieve the list a specific Trello card belongs to. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the specific Trello card. +- **list_fields** (`string`, optional) Specify 'all' or a comma-separated list of list fields to retrieve details about the Trello list a card belongs to. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardMembers + +
+ + +Retrieve members assigned to a specific Trello card. + +**Parameters** + +- **card_id** (`string`, required) The ID of the Trello card to get member information for. +- **member_fields** (`string`, optional) Specify 'all' or a comma-separated list of member fields to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardVoters + +
+ + +Retrieve members who voted on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The ID of the Trello card to retrieve voters for. +- **member_fields** (`string`, optional) Specify 'all' or a list of member fields (e.g., 'fullName,username') to include in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.VoteOnTrelloCard + +
+ + +Vote on a Trello card on behalf of a member. + +**Parameters** + +- **member_id_to_vote_yes** (`string`, required) The ID of the Trello member casting a 'yes' vote on the card. +- **card_id** (`string`, required) The unique ID of the Trello card where the vote will be cast. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardPluginData + +
+ + +Retrieve shared plugin data from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The ID of the Trello card to retrieve shared plugin data for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardStickers + +
+ + +Retrieve stickers from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which to retrieve stickers. +- **sticker_fields** (`string`, optional) Specify 'all' to retrieve all sticker fields or provide a comma-separated list of specific sticker fields to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddStickerToCard + +
+ + +Add a sticker to a specific Trello card. + +**Parameters** + +- **sticker_identifier** (`string`, required) For custom stickers, provide the sticker ID. For default stickers, provide the string identifier (e.g., 'taco-cool'). +- **sticker_top_position** (`number`, required) The vertical position of the sticker, ranging from -60 to 100, indicating how far from the top it should be placed. +- **sticker_left_position** (`number`, required) Specify the left position of the sticker on the card, ranging from -60 to 100. +- **sticker_z_index** (`integer`, required) The z-index/layer position of the sticker, affecting its stack order on the card. +- **card_id** (`string`, required) The unique identifier of the Trello card where the sticker will be added. +- **sticker_rotation** (`number`, optional) The rotation angle of the sticker on the card, specified as a number. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardSticker + +
+ + +Retrieve details of a specific sticker on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card from which to retrieve the sticker details. +- **sticker_id** (`string`, required) The unique identifier for the sticker on a Trello card. +- **sticker_fields** (`string`, optional) Specify 'all' or a comma-separated list of sticker fields to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveCardSticker + +
+ + +Remove a sticker from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card from which the sticker will be removed. +- **sticker_id** (`string`, required) The ID of the sticker to be removed from the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateStickerOnTrelloCard + +
+ + +Update a sticker on a Trello card. + +**Parameters** + +- **sticker_top_position** (`number`, required) The top position of the sticker, ranging from -60 to 100. +- **left_position** (`number`, required) The horizontal position of the sticker on the card, ranging from -60 to 100. +- **sticker_z_index** (`integer`, required) Specifies the z-index of the sticker, determining its stacking order on the card. +- **card_id** (`string`, required) The unique identifier of the Trello card to which the sticker belongs. +- **sticker_id** (`string`, required) The unique identifier of the sticker to be updated on the Trello card. +- **sticker_rotation_angle** (`number`, optional) Specify the rotation angle of the sticker. Expected values are numerical, representing the angle by which the sticker should be rotated. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.EditTrelloComment + +
+ + +Update an existing comment on a Trello card. + +**Parameters** + +- **new_comment_text** (`string`, required) The new text content for the Trello comment that needs to be updated. +- **card_id** (`string`, required) The unique identifier of the Trello card associated with the comment to update. +- **comment_action_id** (`string`, required) The unique ID of the comment action you want to update on the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloComment + +
+ + +Delete a specific comment from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which the comment will be deleted. +- **comment_action_id** (`string`, required) The unique identifier for the comment action to be deleted on the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCardCustomFieldItems + +
+ + +Retrieve custom field items for a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card to retrieve custom field items. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddTrelloCardComment + +
+ + +Add a comment to a Trello card. + +**Parameters** + +- **comment_text** (`string`, required) The text of the comment to add to the Trello card. +- **card_id** (`string`, required) The unique identifier of the Trello card to which the comment will be added. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddLabelToCard + +
+ + +Add a label to a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique ID of the Trello card to which the label will be added. +- **label_id** (`string`, optional) The ID of the label to add to a Trello card. This is required to identify the specific label. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddMemberToTrelloCard + +
+ + +Add a member to a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card to which a member will be added. +- **member_id_to_add** (`string`, optional) The ID of the member to be added to the specified Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddLabelToTrelloCard + +
+ + +Create a label on a Trello board and attach it to a card. + +**Parameters** + +- **label_color** (`string`, required) Specify a valid label color or `null`. Refer to Trello label options for valid colors. +- **card_id** (`string`, required) The unique identifier for the Trello card you want to attach the label to. +- **label_name** (`string`, optional) Specify the name for the new label to be created and added to the card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MarkCardNotificationsRead + +
+ + +Marks notifications for a specific card as read. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card whose notifications you want to mark as read. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveLabelFromCard + +
+ + +Remove a label from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card from which the label will be removed. +- **label_id_to_remove** (`string`, required) The ID of the label you want to remove from the Trello card. This ID is unique to each label. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveMemberFromCard + +
+ + +Remove a member from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which the member will be removed. +- **member_id_to_remove** (`string`, required) The unique ID of the member you want to remove from the Trello card. This should match the Trello member ID format. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveMemberVoteFromCard + +
+ + +Remove a member's vote from a card on Trello. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which to remove the vote. +- **member_id_to_remove_vote** (`string`, required) The ID of the member whose vote is to be removed from the Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateChecklistItemOnCard + +
+ + +Update an item in a checklist on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier for the Trello card containing the checklist. +- **checklist_item_id** (`string`, required) The ID of the checklist item to update on a Trello card. +- **checklist_id** (`string`, required) The ID of the checklist to update on the Trello card. +- **position_in_checklist** (`string`, optional) Specify the position of the item in the checklist: `top`, `bottom`, or a positive float indicating the precise position. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteChecklistFromCard + +
+ + +Delete a checklist from a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The unique identifier of the Trello card from which to delete the checklist. +- **checklist_id_to_delete** (`string`, required) The ID of the checklist to delete from the specified Trello card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloChecklist + +
+ + +Create a checklist on a Trello card. + +**Parameters** + +- **card_id** (`string`, required) The ID of the Trello card where the checklist will be added. +- **checklist_name** (`string`, optional) The name of the checklist. Must be between 1 and 16384 characters. +- **checklist_position** (`string`, optional) Specify the position of the checklist on the card: 'top', 'bottom', or a positive number for a specific placement. +- **source_checklist_id** (`string`, optional) The ID of an existing checklist to copy into the new checklist. Use this to duplicate a checklist template or predefined checklist items. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetChecklistDetails + +
+ + +Retrieve details of a specific Trello checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The unique identifier of the checklist to be retrieved. +- **card_visibility_filter** (`string`, optional) Specifies which cards associated with the checklist to include. Valid values are: `all`, `closed`, `none`, `open`, `visible`. +- **check_items_to_return** (`string`, optional) Specify which check items to return: all or none. +- **checkitem_fields_to_return** (`string`, optional) Specify fields for checkItem details, using 'all' or a comma-separated list: 'name', 'nameData', 'pos', etc. +- **include_checklist_fields** (`string`, optional) Specify 'all' or a comma-separated list of checklist fields to return (e.g., 'name,pos,state'). Use this to retrieve specific fields from the checklist. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloChecklist + +
+ + +Update an existing Trello checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The unique identifier for the checklist to be updated. +- **checklist_name** (`string`, optional) Name of the checklist being created or updated. Must be between 1 and 16384 characters. +- **checklist_position** (`string`, optional) Defines the position of the checklist on the card: 'top', 'bottom', or a positive number. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloChecklist + +
+ + +Delete a checklist from Trello by its ID. + +**Parameters** + +- **checklist_id** (`string`, required) The unique ID of the checklist to be deleted from Trello. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetChecklistField + +
+ + +Retrieve a specific field from a Trello checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The unique identifier of the checklist to retrieve the field from. +- **checklist_field_to_retrieve** (`string`, required) Specify the field of the checklist to retrieve, such as 'name' or 'pos'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateChecklistField + +
+ + +Update a specific field on a Trello checklist. + +**Parameters** + +- **checklist_name_update_value** (`string`, required) The new name for the checklist. Must be a string between 1 and 16384 characters. +- **checklist_id** (`string`, required) The unique identifier of the checklist to update. +- **field_to_update** (`string`, required) Specify the checklist field to update, either 'name' or 'pos'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardForChecklist + +
+ + +Retrieve the board associated with a specific checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The unique ID of the checklist whose board needs to be retrieved. +- **board_fields_filter** (`string`, optional) Specify `all` or a comma-separated list of board fields to retrieve. For example, 'name' or 'all'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCardByChecklist + +
+ + +Retrieve the card associated with a specific checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The ID of the checklist to find its associated card. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetChecklistItems + +
+ + +Retrieve checkitems from a specified checklist. + +**Parameters** + +- **checklist_id** (`string`, required) The unique ID of the checklist to retrieve items from. +- **checkitem_filter** (`string`, optional) Filter the checkitems to include. Options: 'all', 'none'. +- **include_checkitem_fields** (`string`, optional) Specify which fields to include for checkitems, e.g., `all`, `name`, `pos`, etc. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateCheckitemOnChecklist + +
+ + +Add a checkitem to a specific checklist on Trello. + +**Parameters** + +- **checkitem_name** (`string`, required) The name of the new check item on the checklist. Must be between 1 and 16384 characters. +- **checklist_id** (`string`, required) The unique identifier of the checklist to which the checkitem will be added. This should be a string. +- **checkitem_position** (`string`, optional) Specify the check item's position in the checklist as 'top', 'bottom', or a positive number. +- **checkitem_due_date** (`string`, optional) Set the due date for the new checkitem. Use the format YYYY-MM-DD. +- **due_reminder_minutes** (`number`, optional) The number of minutes before the due date at which a reminder should be sent for the checkitem. +- **member_id** (`string`, optional) The ID of a member resource to assign the checkitem to. +- **is_checkitem_checked** (`boolean`, optional) Indicates if the check item is already marked as checked upon creation. Accepts a boolean value. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetChecklistItem + +
+ + +Retrieve details of a specific checkitem from a checklist. + +**Parameters** + +- **checklist_id** (`string`, required) ID of the checklist from which to retrieve the checkitem. +- **check_item_id** (`string`, required) ID of the check item to retrieve from the checklist. +- **checkitem_fields** (`string`, optional) Specify the checkitem fields to retrieve: `all`, `name`, `nameData`, `pos`, `state`, `type`, `due`, `dueReminder`, `idMember`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveChecklistItem + +
+ + +Removes an item from a Trello checklist. + +**Parameters** + +- **checklist_id** (`string`, required) ID of the checklist from which an item will be removed. +- **check_item_id** (`string`, required) ID of the checklist item to remove in Trello. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloCustomField + +
+ + +Retrieve details of a specific Trello custom field using its ID. + +**Parameters** + +- **custom_field_id** (`string`, required) The unique identifier for the Trello custom field you want to retrieve. This ID is required to access specific details of the custom field. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteCustomField + +
+ + +Delete a Custom Field from a Trello board. + +**Parameters** + +- **custom_field_id** (`string`, required) The ID of the specific Custom Field to be deleted from a Trello board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddDropdownOptionTrello + +
+ + +Add an option to a Trello dropdown Custom Field. + +**Parameters** + +- **customfield_id** (`string`, required) The unique identifier of the custom field to which a dropdown option will be added. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCustomFieldOptions + +
+ + +Retrieve options for a Trello dropdown custom field. + +**Parameters** + +- **custom_field_id** (`string`, required) ID of the custom field to retrieve dropdown options. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetDropdownCustomfieldOption + +
+ + +Retrieve details of a specific dropdown Custom Field option. + +**Parameters** + +- **customfield_item_id** (`string`, required) The ID of the custom field item to retrieve details from. +- **customfield_option_id** (`string`, required) ID of the dropdown custom field option to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteCustomfieldOption + +
+ + +Delete an option from a Custom Field dropdown on Trello. + +**Parameters** + +- **customfield_item_id** (`string`, required) The ID of the custom field item from which the option will be deleted. +- **custom_field_option_id** (`string`, required) ID of the custom field option to delete. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListAvailableEmoji + +
+ + +Retrieve a list of available emojis from Trello. + +**Parameters** + +- **locale** (`string`, optional) The locale for emoji descriptions and names. Defaults to the logged-in member's locale. +- **include_spritesheet_urls** (`boolean`, optional) Set to true to include spritesheet URLs in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseById + +
+ + +Retrieve details of an enterprise by its ID. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the enterprise to retrieve details for from Trello. +- **enterprise_fields_to_retrieve** (`string`, optional) Comma-separated list of fields to retrieve, such as `id`, `name`, `displayName`, etc. +- **member_inclusion_type** (`string`, optional) Specify the type of members to include: none, normal, admins, owners, or all. +- **member_fields** (`string`, optional) Specify one member attribute to include: `avatarHash`, `fullName`, `initials`, or `username`. +- **member_filter_query** (`string`, optional) A SCIM-style query to filter members. Overrides the normal/admins value of members. +- **member_sort_value** (`string`, optional) Provide a SCIM-style sorting value. Prefix with '-' for descending order; default is ascending. +- **member_sort** (`string`, optional) SCIM-style sort value for members. Use `-` prefix to sort descending. Note: members array may be paginated. +- **deprecated_member_sort_order** (`string`, optional) Deprecated parameter for sorting members. Use 'member_sort' instead. Accepts: `ascending`, `descending`, `asc`, `desc`. +- **member_start_index** (`integer`, optional) An integer between 0 and 100 specifying the starting index for paginated member results. +- **member_count** (`integer`, optional) Specify the number of members to retrieve, ranging from 0 to 100. +- **organization_visibility_filter** (`string`, optional) Specify the level of visibility for the organizations. Options are: `none`, `members`, `public`, `all`. +- **organization_fields** (`string`, optional) Specify fields related to organizations to retrieve. Use values accepted by nested organization field resource. +- **organization_memberships_filter** (`string`, optional) Comma-separated list of workspace memberships to include, such as 'me', 'normal', 'admin', 'active', 'deactivated'. +- **include_paid_account_information** (`boolean`, optional) Include paid account information in the returned workspace objects if true. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseAuditLog + +
+ + +Retrieve actions from an enterprise's audit log. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the enterprise whose audit log actions are to be retrieved. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseAdmins + +
+ + +Retrieve admin members of a specified enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the enterprise whose admin members you want to retrieve. +- **member_fields** (`string`, optional) Specify the fields to be included in the response for each admin member. These should match valid values that the nested member field resource accepts. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseSignupUrl + +
+ + +Retrieve the signup URL for a specific enterprise on Trello. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the Trello enterprise for which you want to retrieve the signup URL. +- **redirect_url** (`string`, optional) Any valid URL to which the user will be redirected after signup. +- **require_authentication** (`boolean`, optional) Specifies if authentication is needed to access the signup URL. True means authentication is required. +- **has_user_accepted_confirmation** (`boolean`, optional) Indicates if the user has acknowledged the confirmation before being redirected. Set to True if confirmed. +- **tos_accepted** (`boolean`, optional) Indicate if the user has seen and consented to the Trello ToS before redirection. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseUsers + +
+ + +Retrieve users from a Trello enterprise, with optional filters. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique identifier of the Trello enterprise to retrieve users from. +- **active_since_date** (`string`, optional) Return only users active since this date (inclusive). Format: YYYY-MM-DD. +- **inactive_since_date** (`string`, optional) Returns only Trello users active since this date (inclusive). Provide the date in YYYY-MM-DD format. +- **search_value_filter** (`string`, optional) Filter users by email address or full name starting with this value. +- **pagination_cursor** (`string`, optional) Cursor for returning the next set of results in a paginated response. Use the cursor from the response to fetch subsequent batches. +- **licensed_members_only** (`boolean`, optional) If true, return only members with a Trello license. If false, return only those without a license. If omitted, return both. +- **return_deactivated_members** (`boolean`, optional) Return deactivated members when true; active members when false. Unspecified returns all members. +- **include_collaborators** (`boolean`, optional) Set to true to include members who are board guests (without a license). False excludes them. If unspecified, both are returned. +- **return_managed_members** (`boolean`, optional) Set to true to return only members managed by the Trello Enterprise, false to exclude managed members. If not set, both are returned. +- **include_administrators_only** (`boolean`, optional) If true, returns only administrators of the Trello Enterprise. If false, returns only non-administrators. If unspecified, returns both. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseMembers + +
+ + +Retrieve members of a specified enterprise on Trello. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the enterprise whose members are to be retrieved. This is required to specify which enterprise's members you want to access. +- **member_fields** (`string`, optional) Comma-separated list of valid member fields to retrieve. +- **scim_filter_query** (`string`, optional) SCIM-style query to filter members. Overrides member type filters and controls pagination. +- **sort_members** (`string`, optional) SCIM-style sorting value. Prefix with '-' for descending order; otherwise, it's ascending. +- **sort_criteria** (`string`, optional) Sorting option for members. Use 'sort' parameter instead, following SCIM-style sorting. Deprecated parameter. +- **sort_order_for_listing** (`string`, optional) Defines the order for sorting members. Use values: 'ascending', 'descending', 'asc', or 'desc'. Deprecated: Prefer 'sort'. +- **member_start_index** (`integer`, optional) An integer between 0 and 9999 indicating where to start retrieving members. +- **member_count_filter** (`string`, optional) Apply a SCIM-style filter to specify the number of members to retrieve. +- **organization_fields** (`string`, optional) Specify valid values for nested organization fields to retrieve specific organization-related data. +- **included_board_fields** (`string`, optional) Comma-separated list of values accepted by the nested board resource to specify included fields. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetEnterpriseMemberById + +
+ + +Retrieve a specific enterprise member's details by ID. + +**Parameters** + +- **enterprise_id** (`string`, required) The ID of the enterprise from which to retrieve the member information. +- **member_id** (`string`, required) The unique ID of the enterprise member to retrieve details for. +- **member_fields** (`string`, optional) A comma-separated list of fields to retrieve for the member. Accepts any valid values from the nested member field resource. +- **organization_fields** (`string`, optional) Specify which organization fields to retrieve, using valid organization field resource identifiers. +- **board_fields_for_enterprise_member** (`string`, optional) Comma-separated values specifying board fields for a member of an enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CheckOrgTransferability + +
+ + +Check if an organization can be transferred to an enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the Enterprise for which to check transferability. +- **organization_id** (`string`, required) The ID of the Organization resource to check for transfer eligibility. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTransferrableOrganizations + +
+ + +Retrieve organizations transferrable to an enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The ID of the enterprise for which to retrieve transferrable organizations. +- **organization_ids** (`array[json]`, required) An array of organization IDs to check for transferability to an enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeclineEnterpriseJoinRequests + +
+ + +Decline multiple enterprise join requests for organizations. + +**Parameters** + +- **organization_ids** (`array[json]`, required) An array of organization IDs to decline join requests for. +- **enterprise_id** (`string`, required) The ID of the enterprise for which join requests should be declined. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetClaimableWorkspaces + +
+ + +Retrieve claimable workspaces for an enterprise by ID. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the enterprise to retrieve claimable workspaces for. +- **workspace_limit** (`integer`, optional) Limits the number of workspaces returned in the query. Use an integer value to specify the maximum number. +- **sort_order_cursor** (`string`, optional) Specifies the sort order for returning matching documents by setting a cursor position. +- **enterprise_name** (`string`, optional) Name of the enterprise to retrieve claimable workspaces for. +- **active_since_date** (`string`, optional) Date in YYYY-MM-DD format to search up to for active workspaces. +- **inactive_since_date** (`string`, optional) Date in YYYY-MM-DD format for filtering workspaces inactive up to this date. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetPendingEnterpriseWorkspaces + +
+ + +Retrieve pending workspaces for an enterprise by ID. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the enterprise for which to retrieve pending workspaces. +- **active_since_date** (`string`, optional) Date in YYYY-MM-DD format to search for active workspaces up to this date. +- **inactive_until_date** (`string`, optional) Specify the date (YYYY-MM-DD) to search up to for workspace inactiveness. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateEnterpriseAuthToken + +
+ + +Create an auth token for a Trello enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) ID of the enterprise for which you want to create an auth token. +- **token_expiration** (`string`, optional) Specify token expiration duration: `1hour`, `1day`, `30days`, or `never`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.TransferOrgToEnterprise + +
+ + +Transfer an organization to an enterprise. + +**Parameters** + +- **organization_id_to_transfer** (`string`, required) ID of the organization that needs to be transferred to the enterprise. It is required for initiating the transfer process. +- **enterprise_id** (`string`, required) ID of the Enterprise to which the organization will be transferred. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateMemberLicenseStatus + +
+ + +Update a member's license status in an enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the enterprise. Required to specify which enterprise the member's license status will be updated for. +- **member_id** (`string`, required) The unique identifier of the member whose license status is being updated. +- **grant_enterprise_license** (`boolean`, required) Boolean to specify if the user should be granted an Enterprise license (true) or not (false). + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeactivateEnterpriseMember + +
+ + +Deactivate a member from an enterprise on Trello. + +**Parameters** + +- **enterprise_id** (`string`, required) The ID of the enterprise from which to deactivate a member. +- **member_id_to_deactivate** (`string`, required) ID of the member to deactivate in the enterprise. +- **user_deactivation_status** (`boolean`, required) Set to true to deactivate the user; false keeps them active. +- **member_field_values** (`string`, optional) Comma-separated list of valid member field values, currently only 'id' is supported. +- **organization_field** (`string`, optional) Specify the organization attribute to retrieve, such as 'id' or 'name'. +- **board_field_values** (`string`, optional) A comma-separated list of fields related to the board resource, such as 'id', 'name', or 'url'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MakeTrelloMemberEnterpriseAdmin + +
+ + +Promote a member to an enterprise admin in Trello. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the enterprise for which a member is being made an admin. +- **member_id_to_promote** (`string`, required) ID of the member to be made an admin of the enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveEnterpriseAdmin + +
+ + +Remove a member as admin from a Trello enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The ID of the Enterprise from which the admin will be removed. +- **member_id_to_remove_admin** (`string`, required) The unique ID of the member to remove as an admin from the enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveOrganizationFromEnterprise + +
+ + +Remove an organization from an enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The unique ID of the enterprise from which you want to remove the organization. +- **organization_id_to_remove** (`string`, required) The ID of the organization to be removed from the specified enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddOrganizationsToEnterprise + +
+ + +Add multiple organizations to an enterprise. + +**Parameters** + +- **enterprise_id** (`string`, required) The ID of the enterprise to which organizations are being added. +- **organization_ids_to_add** (`array[json]`, required) An array of organization IDs to be added to the enterprise. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloLabelInfo + +
+ + +Retrieve detailed information about a specific Trello label. + +**Parameters** + +- **label_id** (`string`, required) The unique identifier of the Trello label to retrieve information for. +- **fields_included_in_response** (`string`, optional) Specify 'all' or a comma-separated list of field names to include in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloLabel + +
+ + +Update a Trello label by its ID. + +**Parameters** + +- **label_id** (`string`, required) The unique ID of the Trello label to update. +- **new_label_name** (`string`, optional) The new name for the Trello label to be updated. +- **new_label_color** (`string`, optional) The desired new color for the Trello label. Choose from options: yellow, purple, blue, red, green, orange, black, sky, pink, lime. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloLabel + +
+ + +Delete a Trello label by its ID. + +**Parameters** + +- **label_id** (`string`, required) The unique ID of the Trello label to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloLabelField + +
+ + +Update a specific field on a Trello label. + +**Parameters** + +- **new_field_value** (`string`, required) The new value to update the specified field on the Trello label. +- **label_id** (`string`, required) The ID of the Trello label to be updated. +- **label_field_to_update** (`string`, required) Specify the field (e.g., 'color' or 'name') on the Trello label to update. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloLabel + +
+ + +Create a new label on a Trello board. + +**Parameters** + +- **label_name** (`string`, required) Name for the label to be created on the Trello board. +- **label_color** (`string`, required) Specifies the color for the label. Accepted values are: yellow, purple, blue, red, green, orange, black, sky, pink, lime. +- **board_id** (`string`, required) The unique ID of the Trello board where the label will be created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloListInfo + +
+ + +Retrieve detailed information about a specific Trello list. + +**Parameters** + +- **list_id** (`string`, required) The unique identifier for the Trello list to retrieve information for. +- **list_field_names** (`string`, optional) Specify 'all' or a comma-separated list of field names to retrieve details for a Trello list. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloList + +
+ + +Updates properties of a Trello list. + +**Parameters** + +- **list_id** (`string`, required) The ID of the Trello list to update. +- **new_list_name** (`string`, optional) The new name to set for the Trello list. +- **destination_board_id** (`string`, optional) ID of the board where the list should be moved. This allows you to relocate the list to a different board. +- **list_new_position** (`string`, optional) New position for the list: 'top', 'bottom', or a positive floating point number. Determines where the list should be placed on the board. +- **archive_list** (`boolean`, optional) Set to true to archive (close) the list, false to keep it open. +- **member_subscribed** (`boolean`, optional) Indicates if the active member is subscribed to the list. Use true for subscribed, false for not subscribed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloBoardList + +
+ + +Create a new list on a Trello board. + +**Parameters** + +- **list_name** (`string`, required) The name of the list to be created on the Trello board. +- **board_id** (`string`, required) The ID of the Trello board where the new list will be created. +- **source_list_id** (`string`, optional) ID of the list to copy into the new list to replicate its content. +- **list_position** (`string`, optional) Specifies where the new list will be positioned on the board. Accepts 'top', 'bottom', or a positive floating point number to indicate a specific position. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ArchiveAllCardsInList + +
+ + +Archive all cards in a specified Trello list. + +**Parameters** + +- **list_id** (`string`, required) The ID of the Trello list to archive all cards from. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MoveAllCardsInList + +
+ + +Move all cards from one Trello list to another. + +**Parameters** + +- **target_board_id** (`string`, required) The ID of the board to which the cards should be moved. +- **target_list_id** (`string`, required) The ID of the Trello list where the cards should be moved to. +- **source_list_id** (`string`, required) The unique ID of the list to move all cards from in Trello. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ArchiveUnarchiveListTrello + +
+ + +Toggle a list's archived status in Trello. + +**Parameters** + +- **list_id** (`string`, required) The ID of the Trello list to archive or unarchive. +- **archive_list** (`string`, optional) Set to true to archive the list, false to unarchive. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MoveListToBoard + +
+ + +Transfer a Trello list to another board. + +**Parameters** + +- **target_board_id** (`string`, required) The ID of the board where the list will be moved. +- **list_id** (`string`, required) The unique ID of the Trello list to be moved to another board. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RenameTrelloList + +
+ + +Rename a list on Trello using its ID and field. + +**Parameters** + +- **list_id** (`string`, required) The unique identifier of the Trello list to be renamed. +- **list_field_to_update** (`string`, required) Specify the list field to update, e.g., 'name', 'pos', or 'subscribed'. +- **new_list_name** (`string`, optional) The new name for the Trello list you want to apply. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetListActions + +
+ + +Retrieve actions performed on a specific Trello list. + +**Parameters** + +- **list_id** (`string`, required) The unique identifier of the Trello list to retrieve actions for. +- **action_type_filter** (`string`, optional) A comma-separated list of action types to filter the actions retrieved from a Trello list. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardByListId + +
+ + +Retrieve the board for a specified list ID in Trello. + +**Parameters** + +- **list_id** (`string`, required) The unique ID of the list to find its associated board. +- **board_fields** (`string`, optional) Specify 'all' or a comma-separated list of board fields to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloListCards + +
+ + +Retrieve all cards from a specific Trello list. + +**Parameters** + +- **list_id** (`string`, required) The ID of the Trello list from which to retrieve cards. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloMemberDetails + +
+ + +Retrieve details of a Trello member by ID. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to be retrieved. +- **include_actions_details** (`string`, optional) Include detailed actions information associated with the member. Refer to the Actions Nested Resource for more options. +- **include_boards_details** (`string`, optional) Include details of boards associated with the member. See the Boards Nested Resource for additional options. +- **board_background_options** (`string`, optional) Specifies which board backgrounds to retrieve. Options include: 'all', 'custom', 'default', 'none', 'premium'. +- **boards_invited_filter** (`string`, optional) Specify 'all' or a comma-separated list (closed, members, open, organization, pinned, public, starred, unpinned) to filter invited boards. +- **boards_invited_fields** (`string`, optional) Specify 'all' or a comma-separated list of board fields like id, name, desc, etc. +- **include_card_details** (`string`, optional) Options to include card-related information about the member. See the Cards Nested Resource for additional options. +- **include_custom_board_backgrounds** (`string`, optional) Specify `all` to include all custom board backgrounds or `none` to exclude them. +- **include_custom_emoji** (`string`, optional) Set to 'all' to include all custom emoji details for the member, or 'none' to exclude them. +- **include_custom_stickers** (`string`, optional) Specify 'all' to include all custom stickers or 'none' to exclude them when retrieving member details. +- **member_detail_fields** (`string`, optional) Specify `all` or a comma-separated list of member fields to retrieve. +- **include_notifications** (`string`, optional) Specify whether to include notifications details for the Trello member. Follow the Notifications Nested Resource guidelines. +- **organizations_inclusion** (`string`, optional) Specify if and which organizations related to the member should be returned. One of: `all`, `members`, `none`, `public`. +- **organization_fields** (`string`, optional) Specify `all` or a comma-separated list of organization fields (`id`, `name`). +- **invited_organizations_scope** (`string`, optional) Specify the scope of invited organizations to include in the response. Options: 'all', 'members', 'none', 'public'. +- **organization_fields_invited** (`string`, optional) Comma-separated list of invited organization fields or 'all'. Options: 'id', 'name'. +- **include_tokens** (`string`, optional) Specify if all tokens associated with the member should be returned. Use `"all"` to include tokens, or `"none"` to exclude them. +- **include_board_stars** (`boolean`, optional) Set to true to include board stars in the response. +- **include_paid_account_info_in_workspace** (`boolean`, optional) Set to true to include paid account information in the workspace object. +- **include_paid_account_info** (`boolean`, optional) Set to true to include paid account information in the Trello member response. +- **include_saved_searches** (`boolean`, optional) Set to true to include saved searches data in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloMember + +
+ + +Update a member's information on Trello. + +**Parameters** + +- **member_identifier** (`string`, required) The ID or username of the Trello member to update. +- **new_member_full_name** (`string`, optional) New name for the member. It should not begin or end with a space. +- **member_initials** (`string`, optional) New initials for the member, between 1 and 4 characters long. +- **new_username** (`string`, optional) New username for the member. Must be unique, at least 3 characters long, only lowercase letters, underscores, and numbers. +- **member_bio** (`string`, optional) Biography or description for the member. Allows personalization or additional information about the member. +- **avatar_source_option** (`string`, optional) Specify the source for the avatar. Options: 'gravatar', 'none', 'upload'. +- **preferred_locale** (`string`, optional) Specify the preferred language locale for the member. +- **update_interval_minutes** (`integer`, optional) Set the interval for summaries in minutes. Use `-1` to disable, `1` for frequent, or `60` for hourly updates. +- **enable_color_blind_mode** (`boolean`, optional) Enable or disable color blind mode for the member. `true` to enable; `false` to disable. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberProperty + +
+ + +Fetch a specific property of a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose property is to be fetched. +- **member_property_field** (`string`, required) Specify which field (e.g., id, username) of the Trello member to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListMemberActions + +
+ + +Retrieve actions performed by a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose actions are being retrieved. +- **action_types_filter** (`string`, optional) A comma-separated list of action types to filter the actions performed by a member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCustomBoardBackgrounds + +
+ + +Retrieve a member's custom board backgrounds on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose custom board backgrounds you want to retrieve. +- **background_filter** (`string`, optional) Filter results to include specific types of board backgrounds: `all`, `custom`, `default`, `none`, or `premium`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UploadBoardBackground + +
+ + +Upload a new background to a Trello board. + +**Parameters** + +- **background_file** (`string`, required) The path to the file to be uploaded as the new board background. It should be a valid file path or URL. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to upload the board background for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberBoardBackground + +
+ + +Retrieve a member's board background in Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom to retrieve the board background. +- **board_background_id** (`string`, required) The ID of the board background to retrieve details for. +- **background_fields** (`string`, optional) Specify `all` or a comma-separated list of background details like `brightness`, `fullSizeUrl`, `scaled`, `tile`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateBoardBackground + +
+ + +Update a Trello board background for a member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the member whose board background is being updated. +- **board_background_id** (`string`, required) The unique identifier for the board background to be updated. +- **background_brightness** (`string`, optional) Set the brightness of the board background. Accepted values: 'dark', 'light', 'unknown'. +- **tile_background** (`boolean`, optional) Set to true if you want the board background to be tiled. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteBoardBackground + +
+ + +Deletes a board background for a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose board background you want to delete. +- **board_background_id** (`string`, required) The unique ID of the board background to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListMemberBoardStars + +
+ + +Retrieve a member's starred boards. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose board stars are to be listed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.StarBoardForMember + +
+ + +Star a board for a Trello member. + +**Parameters** + +- **board_id_to_star** (`string`, required) The ID of the board that you want to star for the member. +- **position_of_starred_board** (`string`, required) Specifies the position for the newly starred board: 'top', 'bottom', or a positive float for precise placement. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom the board will be starred. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardStar + +
+ + +Retrieve details of a specific boardStar for a member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose boardStar details you want to retrieve. +- **board_star_id** (`string`, required) The unique ID of the board star to retrieve details for a member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateStarredBoardPosition + +
+ + +Update the position of a starred board on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose starred board position is being updated. +- **board_star_id** (`string`, required) The unique identifier for the board star. Used to specify which starred board's position to update. +- **new_position_for_starred_board** (`string`, optional) Specify the new position for the starred board. Use 'top', 'bottom', or a positive float for a custom position. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UnstarTrelloBoard + +
+ + +Unstar a Trello board for a user. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to unstar a board for. +- **board_star_id** (`string`, required) The unique identifier of the board star to be removed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListUserBoards + +
+ + +Lists the boards that a user is a member of. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose boards are to be retrieved. +- **board_filter** (`string`, optional) Comma-separated list of board filters like 'closed', 'members', etc., or 'all'. +- **board_fields** (`string`, optional) Specify `all` or a comma-separated list of board fields to include (e.g., `id,name,desc`). +- **include_lists_with_boards** (`string`, optional) Specify which lists to include with the boards. Choose from: `all`, `closed`, `none`, `open`. +- **include_organization_fields** (`string`, optional) Specify 'all' or a comma-separated list of organization fields to include (e.g., 'id,name'). +- **include_organization** (`boolean`, optional) Indicates whether to include the Organization object with the Boards. Set to true to include. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberInvitedBoards + +
+ + +Retrieve the boards a Trello member has been invited to. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to retrieve invited boards for. +- **included_board_fields** (`string`, optional) Specify 'all' or a list of board fields to retrieve, such as 'id,name,desc'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberTrelloCards + +
+ + +Retrieve the cards assigned to a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to retrieve cards for. +- **filter_status** (`string`, optional) Specify the filter for the cards: all, closed, complete, incomplete, none, open, or visible. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberCustomBoardBackgrounds + +
+ + +Retrieve a member's custom board backgrounds on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose custom board backgrounds you want to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UploadCustomBoardBackground + +
+ + +Upload a new custom board background for a Trello board. + +**Parameters** + +- **background_image_file** (`string`, required) Path to the image file to be uploaded as a custom board background. Ensure the file format is compatible with Trello. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to whom the custom board background will be uploaded. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetCustomBoardBackground + +
+ + +Get a specific custom board background by ID. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the member to identify whose custom board background to retrieve. +- **custom_background_id** (`string`, required) The ID of the custom board background to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateCustomBoardBackground + +
+ + +Update a specific custom board background for a member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the member whose board background will be updated. +- **custom_background_id** (`string`, required) The ID of the custom background to update. +- **background_brightness** (`string`, optional) Set the brightness of the custom board background. Options: 'dark', 'light', 'unknown'. +- **tile_background** (`boolean`, optional) Set to true to tile the board background, false for no tiling. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteCustomBoardBackground + +
+ + +Delete a specific custom board background on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose custom board background is to be deleted. +- **background_id** (`string`, required) The ID of the custom background to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberCustomEmojis + +
+ + +Retrieve a member's uploaded custom emojis from Trello. + +**Parameters** + +- **member_identifier** (`string`, required) The ID or username of the Trello member to retrieve custom emojis for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateCustomEmoji + +
+ + +Create a new custom emoji for a Trello member. + +**Parameters** + +- **emoji_file_path** (`string`, required) Path to the image file for the custom emoji. Must be a supported image format. +- **emoji_name** (`string`, required) Name for the custom emoji, must be between 2 to 64 characters. +- **member_identifier** (`string`, required) The ID or username of the Trello member for whom the emoji is being created. This identifies the target member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberCustomEmoji + +
+ + +Retrieve a member's custom emoji. + +**Parameters** + +- **member_id_or_username** (`string`, required) The unique ID or username of the Trello member to retrieve custom emoji details for. +- **custom_emoji_id** (`string`, required) The unique identifier of the custom emoji. +- **custom_emoji_fields** (`string`, optional) Specify 'all' or a comma-separated list of 'name', 'url' to determine which emoji details to return. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberUploadedStickers + +
+ + +Retrieve a member's uploaded custom stickers on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to retrieve their uploaded stickers. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UploadCustomSticker + +
+ + +Upload a new custom sticker for a Trello member. + +**Parameters** + +- **sticker_file_path** (`string`, required) The file path of the custom sticker to upload. It should be a valid path to the sticker image file on the server or local system. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom the custom sticker is being uploaded. This identifies the target member's account. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberCustomSticker + +
+ + +Retrieve a specific custom sticker for a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose sticker is being retrieved. +- **sticker_id** (`string`, required) The ID of the uploaded custom sticker to retrieve for a Trello member. +- **sticker_fields** (`string`, optional) Specify 'all' or a comma-separated list of 'scaled', 'url' to get specific details about the sticker. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteMemberCustomSticker + +
+ + +Remove a member's custom sticker. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose custom sticker will be deleted. +- **sticker_id** (`string`, required) The ID of the uploaded sticker to be deleted from the member's profile. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberNotifications + +
+ + +Retrieve notifications for a specific Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to get notifications for. +- **notification_filter** (`string`, optional) Filters notifications by type. Accepts a comma-separated list of types like `addMemberToCard`, `commentCard`, etc. +- **notification_read_status** (`string`, optional) Filter notifications by read status: `all`, `read`, or `unread`. +- **notification_fields** (`string`, optional) Specify `all` or a comma-separated list of notification fields to retrieve. +- **notification_limit** (`integer`, optional) Specify the number of notifications to retrieve, up to a maximum of 1000. +- **notification_page** (`integer`, optional) Specify the page number of notifications to retrieve, with a maximum value of 100. +- **notification_id_before** (`string`, optional) A notification ID to fetch notifications received before this ID. +- **since_notification_id** (`string`, optional) The notification ID to start retrieving notifications from. +- **member_creator_fields** (`string`, optional) Specify 'all' or a comma-separated list of member field names to include data about the creator of the notification. +- **include_entities** (`boolean`, optional) Set to 'true' to include entities in notifications; 'false' to exclude them. +- **show_display** (`boolean`, optional) Set to true to display notifications, otherwise notifications are not shown. +- **include_member_creator** (`boolean`, optional) Include the member who created the notification in the response when true. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberWorkspaces + +
+ + +Retrieve a member's workspaces from Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The unique ID or username of the Trello member whose workspaces are to be retrieved. +- **workspace_filter** (`string`, optional) Filter workspaces by type: `all`, `members`, `none`, or `public`. `members` filters to private workspaces. +- **organization_fields** (`string`, optional) Specify `all` or a comma-separated list of organization fields such as `id` or `name`. +- **include_paid_account_info** (`boolean`, optional) Set to true to include paid account information in the returned workspace objects. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetInvitedWorkspaces + +
+ + +Fetches workspaces a member has been invited to. + +**Parameters** + +- **member_identifier** (`string`, required) The ID or username of the Trello member to fetch invited workspaces for. +- **organization_fields_selection** (`string`, optional) Specify `all` or a comma-separated list of organization fields (e.g., 'id,name'). + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListMemberSavedSearches + +
+ + +Retrieve saved searches for a specified member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to retrieve saved searches for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateSavedSearchTrello + +
+ + +Create a saved search in Trello for a member. + +**Parameters** + +- **saved_search_name** (`string`, required) The name for the saved search in Trello. This is how the search will be referred to in the interface. +- **search_query** (`string`, required) The search query to be saved for a Trello member. +- **saved_search_position** (`string`, required) Specifies where to position the saved search: 'top', 'bottom', or a positive float for a custom position. +- **member_identifier** (`string`, required) The ID or username of the Trello member for whom the saved search is being created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetSavedSearchDetails + +
+ + +Retrieve detailed information about a saved search on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose saved search is being accessed. +- **saved_search_id** (`string`, required) The ID of the saved search to retrieve details for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateSavedSearch + +
+ + +Update a saved search in Trello for a specific member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom the saved search will be updated. +- **saved_search_id** (`string`, required) The ID of the saved search to be updated in Trello. +- **new_saved_search_name** (`string`, optional) The updated name for the saved search in Trello. +- **new_search_query** (`string`, optional) The updated search query for the saved search. +- **new_search_position** (`string`, optional) Specifies the new position for the saved search: `top`, `bottom`, or a positive float for custom positioning. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteSavedSearch + +
+ + +Permanently remove a saved search for a Trello member. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose saved search will be deleted. +- **saved_search_id** (`string`, required) The ID of the saved search to delete for a Trello member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListMemberAppTokens + +
+ + +Retrieve a list of a member's application tokens. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose app tokens are to be retrieved. +- **include_webhooks** (`boolean`, optional) Set to true to include webhooks in the response. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateMemberAvatar + +
+ + +Create a new avatar for a Trello member. + +**Parameters** + +- **avatar_file_path** (`string`, required) The file path of the image to be used as the new avatar for the member. The path must point to a valid image file. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom the avatar is being created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DismissTrelloMessage + +
+ + +Dismiss a specific message for a Trello member. + +**Parameters** + +- **message_to_dismiss** (`string`, required) The content of the Trello message to be dismissed for the member. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member for whom the message will be dismissed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetMemberNotificationSettings + +
+ + +Retrieve a member's notification channel settings on Trello. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to retrieve notification settings for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBlockedNotificationKeys + +
+ + +Fetch blocked notification keys for a Trello member's channel. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to fetch blocked notification keys. +- **notification_channel** (`string`, required) Specify the channel to block notifications on. Currently, 'email' is supported. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateMemberNotificationBlockedKeys + +
+ + +Update blocked notification keys for a member's channel. + +**Parameters** + +- **member_id_or_username** (`string`, required) The ID or username of the Trello member whose notification settings you want to update. +- **notification_channel** (`string`, required) Specifies the channel (e.g., 'email') on which to block notifications. +- **blocked_notification_keys** (`string`, required) Comma-separated list of notification keys to block for the member's channel. Valid keys include 'notification_comment_card', 'notification_added_a_due_date', etc. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloNotification + +
+ + +Retrieve a specific Trello notification by its ID. + +**Parameters** + +- **notification_id** (`string`, required) The unique identifier for the specific Trello notification to retrieve. +- **board_fields_to_include** (`string`, optional) Specify `all` or a comma-separated list of board fields (e.g., `id,name,desc`) to retrieve. +- **card_fields_to_include** (`string`, optional) Specify `all` or a comma-separated list of card fields to include in the response. Valid options: id, address, badges, checkItemStates, closed, coordinates, creationMethod, dueComplete, dateLastActivity, desc, descData, due, dueReminder, idBoard, idChecklists, idLabels, idList, idMembers, idMembersVoted, idShort, idAttachmentCover, labels, limits, locationName, manualCoverAttachment, name, pos, shortLink, shortUrl, subscribed, url, cover, isTemplate. +- **notification_fields** (`string`, optional) Specify `all` or a comma-separated list of notification fields like `id`, `unread`, `type`, etc. +- **member_fields_inclusion** (`string`, optional) Specify 'all' or a comma-separated list of member fields to include in the response. +- **include_member_creator_fields** (`string`, optional) `all` or a comma-separated list of member fields to include for the member creator. +- **organization_field_selection** (`string`, optional) Specify `all` or a comma-separated list of organization fields like `id,name` to include in the result. +- **include_board_object** (`boolean`, optional) Set to true to include the board object in the notification details. +- **include_card** (`boolean`, optional) Set to true to include the card object in the notification response. +- **include_display** (`boolean`, optional) Set to true to include the display object in the results. +- **include_entities** (`boolean`, optional) Set to true to include the entities object in the results. +- **include_list_object** (`boolean`, optional) Include the list object in the notification details when true. +- **include_member** (`boolean`, optional) Include the member object in the response when true; exclude it when false. +- **include_member_creator_object** (`boolean`, optional) Set to true to include the member object of the creator in the notification details. +- **include_organization** (`boolean`, optional) Set to true to include the organization object in the notification details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateNotificationStatus + +
+ + +Update the read status of a Trello notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique identifier of the Trello notification to be updated. +- **mark_as_read** (`boolean`, optional) Set to true to mark the notification as read, false to keep it unread. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetNotificationProperty + +
+ + +Retrieve a specific property from a Trello notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique ID of the notification to access its specific property. +- **notification_property_field** (`string`, required) The specific field of the notification to retrieve, such as 'id', 'type', or 'date'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.MarkAllNotificationsRead + +
+ + +Mark all Trello notifications as read. + +**Parameters** + +- **notification_ids_to_mark** (`array[string]`, optional) A list of notification IDs to mark as read or unread. Useful for managing specific notifications. +- **mark_notifications_read** (`boolean`, optional) Boolean to specify whether to mark notifications as read (true) or unread (false). Defaults to true (mark as read). + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateNotificationReadStatus + +
+ + +Update the read status of a Trello notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique identifier of the Trello notification to update the read status for. +- **notification_unread_status** (`string`, optional) Specify 'true' to mark the notification as unread, 'false' to mark it as read. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetBoardNotificationInfo + +
+ + +Retrieve the board associated with a specific notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique ID of the notification to retrieve the associated board. +- **board_fields_selection** (`string`, optional) Specify `all` or a comma-separated list of board fields like id, name, desc, etc., to retrieve specific board details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetNotificationCard + +
+ + +Retrieve the card linked to a specific notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique ID of the notification to retrieve the associated card. +- **card_fields** (`string`, optional) Specify 'all' or a comma-separated list of card fields to retrieve. Choose from 'id', 'address', 'badges', etc. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloNotificationList + +
+ + +Retrieve the list linked to a specific Trello notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique ID of the Trello notification to retrieve the associated list. +- **list_fields** (`string`, optional) Specify `all` or a comma-separated list of list fields to retrieve for the notification. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetNotificationMember + +
+ + +Get the member a notification is about. + +**Parameters** + +- **notification_id** (`string`, required) The unique ID of the Trello notification to retrieve the member information for. +- **member_fields** (`string`, optional) Specify 'all' or a comma-separated list of member fields to retrieve details about the member a notification is about. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetNotificationCreator + +
+ + +Get the member who created the notification. + +**Parameters** + +- **notification_id** (`string`, required) The unique identifier for the notification whose creator details are to be retrieved. +- **member_fields** (`string`, optional) Specify 'all' or a comma-separated list of member fields to retrieve information about the notification creator. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetNotificationOrganization + +
+ + +Retrieve the organization linked to a notification. + +**Parameters** + +- **notification_id** (`string`, required) The ID of the Trello notification to retrieve its associated organization. +- **organization_fields** (`string`, optional) A string specifying 'all' or a comma-separated list of fields like 'id' or 'name' to retrieve about the organization. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloWorkspace + +
+ + +Create a new Trello workspace. + +**Parameters** + +- **display_name_for_workspace** (`string`, required) The name to display for the Trello workspace. This should be a descriptive and recognizable name. +- **workspace_description** (`string`, optional) A description for the Trello workspace. Provide details about the purpose or scope of this workspace. +- **workspace_identifier** (`string`, optional) A unique string with at least 3 characters. Only lowercase letters, underscores, and numbers are allowed. +- **workspace_website_url** (`string`, optional) The website URL for the workspace, must start with `http://` or `https://`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetOrganizationDetails + +
+ + +Fetches details of a Trello organization by ID. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the Trello organization to fetch details for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateOrganization + +
+ + +Update the details of a Trello organization. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to update. +- **new_organization_name** (`string`, optional) A unique name for the organization with at least 3 lowercase letters, underscores, or numbers. +- **new_display_name** (`string`, optional) A new display name for the organization. Must be at least 1 character long and not begin or end with a space. +- **organization_description** (`string`, optional) A new description for the organization in Trello. +- **organization_website_url** (`string`, optional) A URL for the organization starting with 'http://', 'https://', or 'null'. +- **google_apps_domain** (`string`, optional) The Google Apps domain to link this organization to. +- **google_apps_version** (`integer`, optional) Specifies the Google Apps version to link with the organization. It should be either `1` or `2`. +- **workspace_board_visibility_restriction** (`string`, optional) Specifies who on the Workspace can make Workspace visible boards. Acceptable values: `admin`, `none`, `org`. +- **private_board_visibility_restriction** (`string`, optional) Specifies who can create private boards within the organization. Acceptable values: `admin`, `none`, `org`. +- **public_board_visibility_restriction** (`string`, optional) Specifies who in the workspace can create public boards. Options: 'admin', 'none', 'org'. +- **organization_invite_restriction_email** (`string`, optional) An email address pattern with optional wildcard characters for restricting organization invites. +- **workspace_visibility** (`string`, optional) Sets the visibility of the Workspace page. Options: `private` or `public`. +- **allow_external_members** (`boolean`, optional) Set to false to prevent non-workspace members from being added to boards in the Workspace. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteOrganization + +
+ + +Delete an existing organization in Trello. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetOrganizationFieldTrello + +
+ + +Retrieve a specific field from a Trello organization. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to retrieve the field from. +- **organization_field** (`string`, required) The specific field of the organization to retrieve, such as 'id' or 'name'. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListWorkspaceActions + +
+ + +Retrieve actions from a specific Workspace. + +**Parameters** + +- **workspace_identifier** (`string`, required) The unique ID or name of the Trello Workspace to retrieve actions for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListWorkspaceBoards + +
+ + +Retrieve boards in a specified Trello workspace. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the Trello organization (workspace) to list boards for. +- **board_status_filter** (`string`, optional) Define which boards to list using `all` or a combination of `open`, `closed`, `members`, `organization`, `public`. +- **board_fields_to_retrieve** (`string`, optional) Specify 'all' or a comma-separated list of board fields to retrieve (e.g., 'id,name,url'). + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.StartOrganizationCsvExport + +
+ + +Initiate a CSV export for a Trello organization. + +**Parameters** + +- **workspace_identifier** (`string`, required) The unique ID or name of the Trello Workspace to export. +- **include_attachments** (`boolean`, optional) Set to true to include attachments in the CSV export, false to exclude. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RetrieveTrelloOrganizationExports + +
+ + +Retrieve exports for a Trello organization. + +**Parameters** + +- **workspace_id_or_name** (`string`, required) The ID or name of the Trello Workspace to retrieve exports for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListWorkspaceMembers + +
+ + +Retrieve members of a specified Trello Workspace. + +**Parameters** + +- **workspace_identifier** (`string`, required) The ID or name of the Trello Workspace to retrieve members from. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateOrganizationMembers + +
+ + +Update the members of a Trello organization. + +**Parameters** + +- **member_email** (`string`, required) The email address of the member to update in the organization. +- **member_full_name** (`string`, required) Name for the member, must be at least 1 character and not begin or end with a space. +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to update. +- **member_role_type** (`string`, optional) Specify the member's role: `admin` or `normal`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListWorkspaceMemberships + +
+ + +Retrieve memberships of a specific Workspace on Trello. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello Workspace to list memberships for. +- **membership_filter** (`string`, optional) Filter memberships by status: 'all', 'active', 'admin', 'deactivated', 'me', 'normal'. Use a comma-separated list for multiple. +- **include_member_objects** (`boolean`, optional) Set to true to include Member objects with the Memberships. Useful for detailed member info. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetOrganizationMembership + +
+ + +Retrieve details of a specific organization membership. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to retrieve membership details. +- **membership_id** (`string`, required) The ID of the membership to retrieve within an organization. Use this to specify which membership details to load. +- **include_member_object** (`boolean`, optional) Include the Member object in the response when true. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetWorkspaceScopedPluginData + +
+ + +Retrieve organization scoped pluginData for a Workspace. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the organization whose plugin data you want to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ListOrganizationCollections + +
+ + +Retrieve collections of a specified organization. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the Trello organization whose collections are to be listed. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateOrganizationTag + +
+ + +Create a new tag within a specified organization on Trello. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the organization for which the tag will be created. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateWorkspaceMember + +
+ + +Add or update a member in a Trello Workspace. + +**Parameters** + +- **member_role** (`string`, required) Specify the member's role in the Workspace. Use 'admin' or 'normal'. +- **workspace_organization_id_or_name** (`string`, required) The ID or name of the Trello Workspace organization to update or add a member. +- **member_id_or_username** (`string`, required) The ID or username of the Trello member to update or add to the workspace. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveWorkspaceMember + +
+ + +Remove a member from a Trello workspace. + +**Parameters** + +- **workspace_id_or_name** (`string`, required) The ID or name of the Trello workspace from which the member will be removed. +- **member_id_to_remove** (`string`, required) The ID of the member to be removed from the Trello workspace. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.ToggleWorkspaceMemberStatus + +
+ + +Deactivate or reactivate a member of a Workspace on Trello. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the organization to identify the Workspace. +- **member_id_or_username** (`string`, required) The ID or username of the member whose status should be updated in the Trello Workspace. +- **deactivate_member** (`boolean`, required) A boolean value where true deactivates and false reactivates a member. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.SetWorkspaceLogo + +
+ + +Set the logo image for a Workspace on Trello. + +**Parameters** + +- **workspace_id_or_name** (`string`, required) The ID or name of the Trello Workspace for which the logo will be set. +- **workspace_logo_file** (`string`, optional) The path or binary data of the image file to set as the Workspace logo. It should be a valid image format. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteWorkspaceLogo + +
+ + +Deletes the logo from a Trello workspace. + +**Parameters** + +- **workspace_identifier** (`string`, required) The ID or name of the Trello workspace whose logo you want to delete. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteMemberFromWorkspace + +
+ + +Remove a member from a Trello Workspace and all its boards. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to specify which workspace the member should be removed from. +- **member_id_to_remove** (`string`, required) The ID of the member to remove from the Trello Workspace and all associated boards. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveWorkspaceGoogleDomain + +
+ + +Remove the associated Google Apps domain from a Workspace. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization (Workspace) to disassociate from the Google Apps domain. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveWorkspaceInviteRestriction + +
+ + +Removes email domain restrictions for Workspace invitations. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to remove invite restrictions from. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteOrganizationTag + +
+ + +Delete a tag from an organization in Trello. + +**Parameters** + +- **organization_identifier** (`string`, required) The ID or name of the organization from which to delete the tag. +- **tag_id_to_delete** (`string`, required) The identifier for the tag that needs to be deleted from the organization in Trello. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CheckNewBillableGuestsOnBoard + +
+ + +Checks for new billable guests on a specified Trello board. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to check for new billable guests on a board. +- **board_id_to_check_new_billable_guests** (`string`, required) The ID of the Trello board to check for new billable guests. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloPlugin + +
+ + +Retrieve details of a specific Trello plugin using its ID. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to retrieve the plugin for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloPlugin + +
+ + +Update a Trello plugin by ID. + +**Parameters** + +- **organization_id_or_name** (`string`, required) The ID or name of the Trello organization to update the plugin for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetPluginMemberPrivacyCompliance + +
+ + +Retrieve member privacy compliance for a specific plugin. + +**Parameters** + +- **power_up_id** (`string`, required) The unique identifier for the Power-Up to retrieve its member privacy compliance details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.TrelloSearch + +
+ + +Search for anything in your Trello account. + +**Parameters** + +- **search_query** (`string`, required) The search query string with a length between 1 and 16384 characters. +- **board_filter** (`string`, optional) Specify `mine` or a comma-separated list of Board IDs to filter search results. +- **organization_ids** (`string`, optional) A comma-separated list of Organization IDs to search within. +- **card_ids_list** (`string`, optional) A comma-separated list of Card IDs to search within specific cards. +- **search_object_types** (`string`, optional) Specify the Trello object types to search: `all` or a comma-separated list of `actions`, `boards`, `cards`, `members`, `organizations`. +- **board_fields_to_include** (`string`, optional) Specify which board fields to include. Use 'all' or a comma-separated list like 'name,url'. +- **maximum_boards_to_return** (`integer`, optional) The maximum number of boards to return. Must be an integer from 1 to 1000. +- **card_fields_selection** (`string`, optional) Specify 'all' or a comma-separated list of card fields like 'name', 'due', 'labels' to include in the results. +- **maximum_cards_to_return** (`integer`, optional) The maximum number of cards to return, up to 1000. +- **cards_page_number** (`number`, optional) Specify the page number for card search results. Maximum value is 100. +- **include_card_attachments** (`string`, optional) Indicate whether to include attachment objects with card results. Accepts true, false, or 'cover' for only card cover attachments. +- **organization_fields** (`string`, optional) Comma-separated list of organization fields to include. Options: all, billableMemberCount, desc, descData, displayName, idBoards, invitations, invited, logoHash, memberships, name, powerUps, prefs, premiumFeatures, products, url, website. +- **maximum_workspaces_to_return** (`integer`, optional) Specify the maximum number of Workspaces to return, up to a maximum of 1000. +- **member_fields** (`string`, optional) Specify member fields to retrieve. Options: all, or comma-separated list like `avatarHash`, `bio`, `fullName`, etc. +- **maximum_members_to_return** (`integer`, optional) Specify the maximum number of members to return. Must be an integer up to 1000. +- **include_board_organization** (`boolean`, optional) Include the parent organization with board results when set to true. +- **include_parent_board_with_card_results** (`boolean`, optional) Include parent board information with card results. Use true to include. +- **include_parent_list_with_card_results** (`boolean`, optional) Include the parent list with card results. True to include, false to exclude. +- **include_card_members** (`boolean`, optional) True to include member objects with card results; false to exclude them. +- **include_card_stickers** (`boolean`, optional) Set to true to include sticker objects with card results. +- **partial_match_search** (`boolean`, optional) Search for content starting with any of the words in the query. Enables partial word matching within Trello. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.SearchTrelloMembers + +
+ + +Search for Trello members by criteria. + +**Parameters** + +- **search_query** (`string`, required) The search query string, must be between 1 to 16384 characters in length. +- **maximum_results** (`integer`, optional) The maximum number of results to return, up to 20. +- **board_id** (`string`, optional) The ID of the board to search for members associated with it. +- **organization_id** (`string`, optional) The unique ID of the Trello organization to filter search results by. +- **search_only_organization_members** (`boolean`, optional) Set to true to search only within organization members. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RetrieveTrelloTokenInfo + +
+ + +Retrieve information about a Trello token. + +**Parameters** + +- **trello_token** (`string`, required) The Trello token string for which you want to retrieve information. This token identifies the authentication session. +- **token_info_fields** (`string`, optional) Specify `all` or a comma-separated list of fields (`dateCreated`, `dateExpires`, `idMember`, `identifier`, `permissions`) to retrieve. +- **include_webhooks** (`boolean`, optional) Set to true to include webhooks in the token details. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloTokenOwnerInfo + +
+ + +Retrieve information about a Trello token's owner. + +**Parameters** + +- **user_token** (`string`, required) The Trello token provided by the user to authenticate and retrieve owner information. This should be a valid token string. +- **member_info_fields_to_retrieve** (`string`, optional) Specify `all` or a comma-separated list of fields to retrieve from the Member Object. Refer to the Trello documentation for valid fields. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloTokenWebhooks + +
+ + +Retrieve webhooks created with a specific Trello token. + +**Parameters** + +- **trello_token** (`string`, required) The Trello token to authenticate the request and fetch webhooks. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.CreateTrelloWebhook + +
+ + +Create a new webhook for a Trello token. + +**Parameters** + +- **webhook_post_url** (`string`, required) The URL where the webhook will send POST requests when triggered. +- **object_id_for_webhook** (`string`, required) The ID of the Trello object (board or card) to create a webhook on. +- **webhook_token** (`string`, required) The Trello authorization token needed for creating the webhook. This grants access to the Trello account where the webhook will be set up. +- **webhook_description** (`string`, optional) A description displayed when retrieving webhook information. This should provide meaningful context for the Trello webhook. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RetrieveTrelloWebhook + +
+ + +Retrieve details of a Trello webhook using a token and webhook ID. + +**Parameters** + +- **access_token** (`string`, required) The authentication token for accessing Trello's API to retrieve webhook details. +- **webhook_id** (`string`, required) The ID of the Trello webhook to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloWebhook + +
+ + +Delete a specific Trello webhook. + +**Parameters** + +- **authentication_token** (`string`, required) The authentication token for the Trello account to authorize the deletion of the webhook. +- **webhook_id** (`string`, required) The ID of the Trello webhook to delete. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateWebhookToken + +
+ + +Update a Trello webhook associated with a token. + +**Parameters** + +- **authentication_token** (`string`, required) The token used for authentication to update the Trello webhook. +- **webhook_id** (`string`, required) ID of the Trello webhook to be updated. +- **webhook_description** (`string`, optional) Provide a description to display when retrieving webhook information. +- **callback_url** (`string`, optional) The URL to which the webhook will POST data. +- **webhook_object_id** (`string`, optional) Provide the ID of the Trello object that the webhook is associated with. This ID is needed to identify which object the webhook should be updated for. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.DeleteTrelloToken + +
+ + +Delete a Trello API authentication token. + +**Parameters** + +- **trello_token** (`string`, required) The authentication token to be deleted. This is required for access removal. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.AddTrelloWebhook + +
+ + +Create a new webhook on Trello. + +**Parameters** + +- **callback_url** (`string`, required) A string for a valid URL that Trello can reach with `HEAD` and `POST` requests, used for receiving webhook payloads. +- **model_id_to_monitor** (`string`, required) ID of the Trello model (e.g., board or card) to monitor for updates. +- **webhook_description** (`string`, optional) Provide a description for the new webhook, with a length of 0 to 16384 characters. +- **webhook_is_active** (`boolean`, optional) Indicates if the webhook is active and sending POST requests. True to activate, false to deactivate. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloWebhookById + +
+ + +Retrieve details of a Trello webhook by its ID. + +**Parameters** + +- **webhook_id** (`string`, required) The unique identifier of the Trello webhook to retrieve. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.UpdateTrelloWebhook + +
+ + +Update a Trello webhook by its ID. + +**Parameters** + +- **webhook_id** (`string`, required) The unique ID of the Trello webhook to update. +- **webhook_description** (`string`, optional) Provide a description for the webhook, with a string length between 0 to 16384 characters. +- **callback_url** (`string`, optional) A valid URL for the webhook to send POST and HEAD requests. +- **model_id_to_monitor** (`string`, optional) ID of the Trello model that the webhook will monitor. +- **set_webhook_active** (`boolean`, optional) True to activate the webhook for sending POST requests; false to deactivate. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.RemoveTrelloWebhook + +
+ + +Deletes a Trello webhook using its ID. + +**Parameters** + +- **webhook_id** (`string`, required) The unique ID of the Trello webhook to be deleted. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + +## TrelloApi.GetTrelloWebhookField + +
+ + +Retrieve a specific field from a Trello webhook. + +**Parameters** + +- **webhook_id** (`string`, required) The unique identifier of the Trello webhook to retrieve information from. +- **webhook_field_to_retrieve** (`string`, required) Specify the webhook field to retrieve. Options: `active`, `callbackURL`, `description`, `idModel`, `consecutiveFailures`, `firstConsecutiveFailDate`. + +**Secrets** + +This tool requires the following secrets: `TRELLO_API_KEY`, `TRELLO_TOKEN` (learn how to [configure secrets](/home/build-tools/create-a-tool-with-secrets#set-the-secret-in-the-arcade-dashboard)) + + + + \ No newline at end of file diff --git a/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.js new file mode 100644 index 000000000..65c2fbbb1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddAttachmentToTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d8a2b4c3e0012345678", + "attachment_name": "API Spec - Payment Flow", + "attachment_file": "[file_content]", + "attachment_mime_type": "application/pdf", + "attachment_url": "https://example.com/payment-flow-spec.pdf", + "use_attachment_as_cover": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.py new file mode 100644 index 000000000..9107d3d83 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_attachment_to_trello_card_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddAttachmentToTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d8a2b4c3e0012345678', + 'attachment_name': 'API Spec - Payment Flow', + 'attachment_file': '[file_content]', + 'attachment_mime_type': 'application/pdf', + 'attachment_url': 'https://example.com/payment-flow-spec.pdf', + 'use_attachment_as_cover': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.js new file mode 100644 index 000000000..28c01c34b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddDropdownOptionTrello"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "customfield_id": "5f8d0a2b9c1e4b3a7c123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.py new file mode 100644 index 000000000..df7cb28e7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_dropdown_option_trello_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddDropdownOptionTrello" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'customfield_id': '5f8d0a2b9c1e4b3a7c123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.js new file mode 100644 index 000000000..51c04fe2c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddLabelToCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "label_id": "602d3f9a8b7c6d5e4f0a1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.py new file mode 100644 index 000000000..df34f92d0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_label_to_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddLabelToCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', 'label_id': '602d3f9a8b7c6d5e4f0a1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.js new file mode 100644 index 000000000..de59b00b0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddLabelToTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_color": "green", + "card_id": "5f6a1b2c3d4e5f6789012345", + "label_name": "High Priority" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.py new file mode 100644 index 000000000..cc11b45de --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_label_to_trello_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddLabelToTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_color': 'green', 'card_id': '5f6a1b2c3d4e5f6789012345', 'label_name': 'High Priority' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.js new file mode 100644 index 000000000..942222922 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddMemberToTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_type": "normal", + "board_id": "5f8d0b7a2c9b4e1a", + "member_id": "6123ab4c9f1d2e7b", + "allow_billable_guest": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.py new file mode 100644 index 000000000..9c990f1b6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_board_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddMemberToTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_type': 'normal', + 'board_id': '5f8d0b7a2c9b4e1a', + 'member_id': '6123ab4c9f1d2e7b', + 'allow_billable_guest': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.js new file mode 100644 index 000000000..3ff990b17 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddMemberToTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1c4e7a9f012345", + "member_id_to_add": "60a1b2c3d4e5f6a7b8c9d0e1" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.py new file mode 100644 index 000000000..c63a42f98 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_member_to_trello_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddMemberToTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1c4e7a9f012345', 'member_id_to_add': '60a1b2c3d4e5f6a7b8c9d0e1' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.js new file mode 100644 index 000000000..69c312cb8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddOrganizationsToEnterprise"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_89a3f2", + "organization_ids_to_add": [ + "org_1a2b3c", + "org_4d5e6f", + "org_7g8h9i" + ] +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.py new file mode 100644 index 000000000..07490e870 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_organizations_to_enterprise_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddOrganizationsToEnterprise" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_89a3f2', + 'organization_ids_to_add': ['org_1a2b3c', 'org_4d5e6f', 'org_7g8h9i'] +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.js new file mode 100644 index 000000000..b3c9c4551 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddStickerToCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "sticker_identifier": "taco-cool", + "sticker_top_position": 10, + "sticker_left_position": -20, + "sticker_z_index": 5, + "card_id": "5f6a7b8c9d0e1f23456789ab", + "sticker_rotation": 15 +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.py new file mode 100644 index 000000000..e6908fc35 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_sticker_to_card_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddStickerToCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'sticker_identifier': 'taco-cool', + 'sticker_top_position': 10, + 'sticker_left_position': -20, + 'sticker_z_index': 5, + 'card_id': '5f6a7b8c9d0e1f23456789ab', + 'sticker_rotation': 15 +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.js new file mode 100644 index 000000000..23fc2858e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddTrelloCardComment"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "comment_text": "Please review the UI changes and confirm the acceptance criteria are met.", + "card_id": "5f7d3a2b9c1e4b6f8a2d1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.py new file mode 100644 index 000000000..948f430fa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_trello_card_comment_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddTrelloCardComment" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'comment_text': 'Please review the UI changes and confirm the acceptance criteria are met.', + 'card_id': '5f7d3a2b9c1e4b6f8a2d1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..00fe23fda --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.AddTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "callback_url": "https://example.com/trello-webhook", + "model_id_to_monitor": "5f6a7b8c9d0e1f2a3b4c5d6e", + "webhook_description": "Notify service when cards are moved or updated on Project Alpha board", + "webhook_is_active": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..1eef8e000 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/add_trello_webhook_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.AddTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'callback_url': 'https://example.com/trello-webhook', + 'model_id_to_monitor': '5f6a7b8c9d0e1f2a3b4c5d6e', + 'webhook_description': 'Notify service when cards are moved or updated on Project Alpha board', + 'webhook_is_active': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.js new file mode 100644 index 000000000..fb59b309b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ArchiveAllCardsInList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0d3a2b1c4e7a9f0b1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.py new file mode 100644 index 000000000..36f6fd7f1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/archive_all_cards_in_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ArchiveAllCardsInList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0d3a2b1c4e7a9f0b1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.js new file mode 100644 index 000000000..c3b37cae0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ArchiveUnarchiveListTrello"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f6a1b2c3d4e5f6789012345", + "archive_list": "true" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.py new file mode 100644 index 000000000..2f35f6cc8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/archive_unarchive_list_trello_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ArchiveUnarchiveListTrello" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f6a1b2c3d4e5f6789012345', 'archive_list': 'true' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.js new file mode 100644 index 000000000..c7f861289 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CheckNewBillableGuestsOnBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-team", + "board_id_to_check_new_billable_guests": "5f8d0d3a2c9b1e7a4b6c1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.py new file mode 100644 index 000000000..c2dc2647c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/check_new_billable_guests_on_board_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CheckNewBillableGuestsOnBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-team', + 'board_id_to_check_new_billable_guests': '5f8d0d3a2c9b1e7a4b6c1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.js new file mode 100644 index 000000000..30a3bd5fd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CheckOrgTransferability"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_9876543210", + "organization_id": "org_1234567890" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.py new file mode 100644 index 000000000..f3c1e8de4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/check_org_transferability_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CheckOrgTransferability" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_9876543210', 'organization_id': 'org_1234567890' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.js new file mode 100644 index 000000000..863388eec --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateBoardTag"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_tag_id": "org-tag-789", + "board_id": "board-456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.py new file mode 100644 index 000000000..43160f098 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_board_tag_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateBoardTag" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_tag_id': 'org-tag-789', 'board_id': 'board-456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.js new file mode 100644 index 000000000..d3083739e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.js @@ -0,0 +1,34 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateCheckitemOnChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checkitem_name": "Review API integration", + "checklist_id": "5f8d7a2b9c1e4b3a", + "checkitem_position": "bottom", + "checkitem_due_date": "2025-10-10", + "due_reminder_minutes": 1440, + "member_id": "603d2f1a7b4c9e2f", + "is_checkitem_checked": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.py new file mode 100644 index 000000000..1ce19ef98 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_checkitem_on_checklist_example_call_tool.py @@ -0,0 +1,35 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateCheckitemOnChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checkitem_name': 'Review API integration', + 'checklist_id': '5f8d7a2b9c1e4b3a', + 'checkitem_position': 'bottom', + 'checkitem_due_date': '2025-10-10', + 'due_reminder_minutes': 1440, + 'member_id': '603d2f1a7b4c9e2f', + 'is_checkitem_checked': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.js new file mode 100644 index 000000000..7c5a16bb4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateChecklistOnCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0c1a2e7b6a3d4c9f1234", + "checklist_name": "Release checklist", + "source_checklist_id": "60a1b2c3d4e5f67890123456", + "checklist_position_on_card": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.py new file mode 100644 index 000000000..296d35bdf --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_checklist_on_card_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateChecklistOnCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0c1a2e7b6a3d4c9f1234', + 'checklist_name': 'Release checklist', + 'source_checklist_id': '60a1b2c3d4e5f67890123456', + 'checklist_position_on_card': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.js new file mode 100644 index 000000000..cf0a1aa40 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateCustomEmoji"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "emoji_file_path": "./images/party_parrot.png", + "emoji_name": "partyParrot", + "member_identifier": "jdoe_123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.py new file mode 100644 index 000000000..3d3520f5c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_custom_emoji_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateCustomEmoji" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'emoji_file_path': './images/party_parrot.png', + 'emoji_name': 'partyParrot', + 'member_identifier': 'jdoe_123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.js new file mode 100644 index 000000000..0babdaba6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateEnterpriseAuthToken"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_7a9f3b2c", + "token_expiration": "30days" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.py new file mode 100644 index 000000000..9808c2439 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_enterprise_auth_token_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateEnterpriseAuthToken" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_7a9f3b2c', 'token_expiration': '30days' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.js new file mode 100644 index 000000000..574f70b5c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateLabelOnBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_name": "Urgent", + "label_color": "red", + "board_id": "5f8d0c3a2b1e4a7d9c6f1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.py new file mode 100644 index 000000000..8a3d0d5d3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_label_on_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateLabelOnBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_name': 'Urgent', 'label_color': 'red', 'board_id': '5f8d0c3a2b1e4a7d9c6f1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.js new file mode 100644 index 000000000..f88e335a4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateMemberAvatar"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "avatar_file_path": "./images/new-avatar.png", + "member_id_or_username": "jane_doe123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.py new file mode 100644 index 000000000..7285f2749 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_member_avatar_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateMemberAvatar" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'avatar_file_path': './images/new-avatar.png', 'member_id_or_username': 'jane_doe123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.js new file mode 100644 index 000000000..f180fb252 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateOrganizationTag"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "acme-marketing" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.py new file mode 100644 index 000000000..021506e88 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_organization_tag_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateOrganizationTag" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'acme-marketing' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.js new file mode 100644 index 000000000..095c2e6e8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateSavedSearchTrello"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "saved_search_name": "Open Bugs - Priority", + "search_query": "label:bug is:open sort:priority", + "saved_search_position": "top", + "member_identifier": "jdoe_123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.py new file mode 100644 index 000000000..bbe3b1b67 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_saved_search_trello_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateSavedSearchTrello" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'saved_search_name': 'Open Bugs - Priority', + 'search_query': 'label:bug is:open sort:priority', + 'saved_search_position': 'top', + 'member_identifier': 'jdoe_123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.js new file mode 100644 index 000000000..d13d6cb62 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.js @@ -0,0 +1,41 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_name": "Website Redesign", + "board_description": "Board to track website redesign tasks and milestones", + "workspace_id_or_name": "Marketing Team", + "enable_power_ups": "calendar", + "board_permission_level": "org", + "set_voting_permissions": "members", + "comment_permissions": "members", + "invitation_permission_level": "members", + "board_background_color": "sky", + "card_aging_type": "regular", + "use_default_labels": true, + "add_default_lists": true, + "allow_self_join": false, + "enable_card_covers": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.py new file mode 100644 index 000000000..54cf39ef4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_example_call_tool.py @@ -0,0 +1,42 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_name': 'Website Redesign', + 'board_description': 'Board to track website redesign tasks and milestones', + 'workspace_id_or_name': 'Marketing Team', + 'enable_power_ups': 'calendar', + 'board_permission_level': 'org', + 'set_voting_permissions': 'members', + 'comment_permissions': 'members', + 'invitation_permission_level': 'members', + 'board_background_color': 'sky', + 'card_aging_type': 'regular', + 'use_default_labels': True, + 'add_default_lists': True, + 'allow_self_join': False, + 'enable_card_covers': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.js new file mode 100644 index 000000000..18dd395bc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloBoardList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_name": "Sprint Backlog", + "board_id": "5f2a1c9b8e7d4a3b2c1d0e9f", + "source_list_id": "6a7b8c9d0e1f2a3b4c5d6e7f", + "list_position": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.py new file mode 100644 index 000000000..e09513f3d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_board_list_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloBoardList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_name': 'Sprint Backlog', + 'board_id': '5f2a1c9b8e7d4a3b2c1d0e9f', + 'source_list_id': '6a7b8c9d0e1f2a3b4c5d6e7f', + 'list_position': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.js new file mode 100644 index 000000000..753a50e2c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.js @@ -0,0 +1,50 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id_for_card": "5f8d0d3a9c1b2a7e3f4b6c1d", + "card_name": "Prepare Q4 roadmap", + "card_description": "Draft product roadmap for Q4, include milestones and owners. Review with PM and engineering.", + "card_position": "top", + "card_due_date": "2025-10-15", + "start_date": "2025-10-01", + "member_ids_to_add": [ + "6102f1a9b3e4c2d1f0a9b8c" + ], + "label_ids": [ + "red", + "green" + ], + "attachment_url": "https://example.com/roadmap.pdf", + "attachment_file_path": "/tmp/roadmap.pdf", + "attachment_mime_type": "application/pdf", + "copy_card_source_id": null, + "copy_properties_from_source": "attachments,checklists,labels,members", + "map_view_address": "123 Main St, Anytown, USA", + "location_name": "Headquarters", + "map_coordinates": "37.7749,-122.4194", + "card_display_role": "board", + "card_completion_status": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.py new file mode 100644 index 000000000..a327adae9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_card_example_call_tool.py @@ -0,0 +1,47 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id_for_card': '5f8d0d3a9c1b2a7e3f4b6c1d', + 'card_name': 'Prepare Q4 roadmap', + 'card_description': 'Draft product roadmap for Q4, include milestones and owners. Review with ' + 'PM and engineering.', + 'card_position': 'top', + 'card_due_date': '2025-10-15', + 'start_date': '2025-10-01', + 'member_ids_to_add': ['6102f1a9b3e4c2d1f0a9b8c'], + 'label_ids': ['red', 'green'], + 'attachment_url': 'https://example.com/roadmap.pdf', + 'attachment_file_path': '/tmp/roadmap.pdf', + 'attachment_mime_type': 'application/pdf', + 'copy_card_source_id': None, + 'copy_properties_from_source': 'attachments,checklists,labels,members', + 'map_view_address': '123 Main St, Anytown, USA', + 'location_name': 'Headquarters', + 'map_coordinates': '37.7749,-122.4194', + 'card_display_role': 'board', + 'card_completion_status': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.js new file mode 100644 index 000000000..f7253ca88 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "checklist_name": "Release checklist", + "checklist_position": "top", + "source_checklist_id": "60a7b8c9d0e1f234567890ab" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.py new file mode 100644 index 000000000..27adae077 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_checklist_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', + 'checklist_name': 'Release checklist', + 'checklist_position': 'top', + 'source_checklist_id': '60a7b8c9d0e1f234567890ab' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.js new file mode 100644 index 000000000..f356c2861 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloLabel"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_name": "Backend: Auth", + "label_color": "blue", + "board_id": "5f8d0c2a9a1b3e7f" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.py new file mode 100644 index 000000000..fa9178719 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_label_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloLabel" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_name': 'Backend: Auth', 'label_color': 'blue', 'board_id': '5f8d0c2a9a1b3e7f' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.js new file mode 100644 index 000000000..512afea5d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_name": "Sprint Backlog", + "board_id": "5f2a1c3b9d8e4b0012345678", + "list_position": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.py new file mode 100644 index 000000000..656f09dc0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_name': 'Sprint Backlog', 'board_id': '5f2a1c3b9d8e4b0012345678', 'list_position': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..fb736a6a1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "webhook_post_url": "https://example.com/trello-webhook", + "object_id_for_webhook": "60f7a2c9b3e8a12d34567890", + "webhook_token": "trello_token_ABC123xyz", + "webhook_description": "Notify app on board updates" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..6b9cb5180 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_webhook_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'webhook_post_url': 'https://example.com/trello-webhook', + 'object_id_for_webhook': '60f7a2c9b3e8a12d34567890', + 'webhook_token': 'trello_token_ABC123xyz', + 'webhook_description': 'Notify app on board updates' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.js new file mode 100644 index 000000000..d36927d2b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.CreateTrelloWorkspace"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "display_name_for_workspace": "Acme Product Team", + "workspace_description": "Workspace for Acme's mobile and web product development, sprint planning, and design reviews.", + "workspace_identifier": "acme_product_01", + "workspace_website_url": "https://acme.example.com" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.py new file mode 100644 index 000000000..02c3827cc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/create_trello_workspace_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.CreateTrelloWorkspace" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'display_name_for_workspace': 'Acme Product Team', + 'workspace_description': "Workspace for Acme's mobile and web product development, sprint " + 'planning, and design reviews.', + 'workspace_identifier': 'acme_product_01', + 'workspace_website_url': 'https://acme.example.com' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.js new file mode 100644 index 000000000..c25064347 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeactivateEnterpriseMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_9a1b2c3d", + "member_id_to_deactivate": "member_5f4e3d2c", + "user_deactivation_status": true, + "member_field_values": "id", + "organization_field": "name", + "board_field_values": "id,name,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.py new file mode 100644 index 000000000..936f3a53e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/deactivate_enterprise_member_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeactivateEnterpriseMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_9a1b2c3d', + 'member_id_to_deactivate': 'member_5f4e3d2c', + 'user_deactivation_status': True, + 'member_field_values': 'id', + 'organization_field': 'name', + 'board_field_values': 'id,name,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.js new file mode 100644 index 000000000..10f7df9d7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeclineEnterpriseJoinRequests"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_ids": [ + "org_1a2b3c", + "org_4d5e6f", + "org_7g8h9i" + ], + "enterprise_id": "ent_12345" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.py new file mode 100644 index 000000000..b69571c59 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/decline_enterprise_join_requests_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeclineEnterpriseJoinRequests" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_ids': ['org_1a2b3c', 'org_4d5e6f', 'org_7g8h9i'], 'enterprise_id': 'ent_12345' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.js new file mode 100644 index 000000000..679d221a8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe_92", + "board_background_id": "5f7c8a2b3e9a4c1d2f6b7e8a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.py new file mode 100644 index 000000000..9d338aebd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_board_background_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe_92', 'board_background_id': '5f7c8a2b3e9a4c1d2f6b7e8a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.js new file mode 100644 index 000000000..2bfd38ffc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteCardAttachment"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1c4e7a9f0b1234", + "attachment_id_to_delete": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.py new file mode 100644 index 000000000..88f1bb9a2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_card_attachment_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteCardAttachment" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1c4e7a9f0b1234', 'attachment_id_to_delete': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.js new file mode 100644 index 000000000..86920ca59 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteChecklistFromCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a12ab34cde56789ff", + "checklist_id_to_delete": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.py new file mode 100644 index 000000000..4107584da --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_checklist_from_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteChecklistFromCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a12ab34cde56789ff', 'checklist_id_to_delete': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.js new file mode 100644 index 000000000..53a7b9821 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteCustomBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "janedoe42", + "background_id": "5f8d3a21b9c7e4001a2b3c4d" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.py new file mode 100644 index 000000000..b67f1a998 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_custom_board_background_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteCustomBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'janedoe42', 'background_id': '5f8d3a21b9c7e4001a2b3c4d' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.js new file mode 100644 index 000000000..1de50049a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteCustomField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "custom_field_id": "5f8d0c9e1234567890abcdef" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.py new file mode 100644 index 000000000..2faf022cd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_custom_field_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteCustomField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'custom_field_id': '5f8d0c9e1234567890abcdef' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.js new file mode 100644 index 000000000..4b9e5e7e7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteCustomfieldOption"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "customfield_item_id": "5f8d0c2a9b1e4a7d12345678", + "custom_field_option_id": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.py new file mode 100644 index 000000000..bc1b725c0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_customfield_option_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteCustomfieldOption" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'customfield_item_id': '5f8d0c2a9b1e4a7d12345678', + 'custom_field_option_id': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.js new file mode 100644 index 000000000..16acedf33 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteMemberCustomSticker"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "sticker_id": "sticker_9f3a2b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.py new file mode 100644 index 000000000..1883ab925 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_member_custom_sticker_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteMemberCustomSticker" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'sticker_id': 'sticker_9f3a2b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.js new file mode 100644 index 000000000..2cdbb9dec --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteMemberFromWorkspace"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-marketing-org", + "member_id_to_remove": "5f8d0d55a1b2c30017e4b6f9" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.py new file mode 100644 index 000000000..0a5643f83 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_member_from_workspace_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteMemberFromWorkspace" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-marketing-org', 'member_id_to_remove': '5f8d0d55a1b2c30017e4b6f9' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.js new file mode 100644 index 000000000..2fbfcc28a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteOrganization"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "team-acme-12345" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.py new file mode 100644 index 000000000..edf96aedd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_organization_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteOrganization" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'team-acme-12345' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.js new file mode 100644 index 000000000..503e8fe00 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteOrganizationTag"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "acme-marketing", + "tag_id_to_delete": "tag_7890ab" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.py new file mode 100644 index 000000000..85317feff --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_organization_tag_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteOrganizationTag" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'acme-marketing', 'tag_id_to_delete': 'tag_7890ab' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.js new file mode 100644 index 000000000..59829470b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteSavedSearch"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith", + "saved_search_id": "5f8d7a2b9c1e4a3b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.py new file mode 100644 index 000000000..f15080a59 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_saved_search_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteSavedSearch" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith', 'saved_search_id': '5f8d7a2b9c1e4a3b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.js new file mode 100644 index 000000000..79c339f31 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c1234567890abcdef12" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.py new file mode 100644 index 000000000..cc8bfdcb0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c1234567890abcdef12' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.js new file mode 100644 index 000000000..e0e4ee64a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id_to_delete": "5f8d0d3a9c1b2e7f4a123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.py new file mode 100644 index 000000000..047f3257f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id_to_delete': '5f8d0d3a9c1b2e7f4a123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.js new file mode 100644 index 000000000..50ca79c2e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f8d0d3a9b1e2c7a12345678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.py new file mode 100644 index 000000000..79f99451c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f8d0d3a9b1e2c7a12345678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.js new file mode 100644 index 000000000..902f807f8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloChecklistItem"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "checkitem_id": "604b2c3d4e5f6a7b8c9d0e1f" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.py new file mode 100644 index 000000000..b6965d71a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_checklist_item_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloChecklistItem" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', 'checkitem_id': '604b2c3d4e5f6a7b8c9d0e1f' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.js new file mode 100644 index 000000000..6f563dd09 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloCommentAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f6a7b8c9d0e1f23456789ab" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.py new file mode 100644 index 000000000..49ffe3e66 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_action_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloCommentAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f6a7b8c9d0e1f23456789ab' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.js new file mode 100644 index 000000000..73f21d843 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloComment"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f2b9a3e7c8d4b1a23456789", + "comment_action_id": "5f2b9a4a7c8d4b1a2345678a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.py new file mode 100644 index 000000000..9a08b3bf3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_comment_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloComment" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f2b9a3e7c8d4b1a23456789', 'comment_action_id': '5f2b9a4a7c8d4b1a2345678a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.js new file mode 100644 index 000000000..2ce34a718 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloLabel"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_id": "5f8d2b3a9c1e7a1234567890" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.py new file mode 100644 index 000000000..df6efe100 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_label_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloLabel" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_id': '5f8d2b3a9c1e7a1234567890' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.js new file mode 100644 index 000000000..44bb11481 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloReaction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0c7a9b3e4a12d6ef9b01", + "reaction_id": "rct_42a7c9f1" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.py new file mode 100644 index 000000000..80de43d25 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_reaction_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloReaction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0c7a9b3e4a12d6ef9b01', 'reaction_id': 'rct_42a7c9f1' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.js new file mode 100644 index 000000000..0927971a9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloToken"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "trello_token": "abcd1234efgh5678ijkl" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.py new file mode 100644 index 000000000..ac0675d33 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_token_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloToken" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'trello_token': 'abcd1234efgh5678ijkl' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..8c8ef2d2d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "authentication_token": "trello_token_ABC123", + "webhook_id": "5f6e7d8c9b0a1c2d3e4f5a6b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..ea00faa54 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_trello_webhook_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'authentication_token': 'trello_token_ABC123', 'webhook_id': '5f6e7d8c9b0a1c2d3e4f5a6b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.js new file mode 100644 index 000000000..81c0ab3be --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DeleteWorkspaceLogo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_identifier": "marketing-team-workspace-123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.py new file mode 100644 index 000000000..3a0200821 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/delete_workspace_logo_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DeleteWorkspaceLogo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_identifier': 'marketing-team-workspace-123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.js new file mode 100644 index 000000000..d46ac0a83 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.DismissTrelloMessage"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "message_to_dismiss": "Try Trello Premium trial offer", + "member_id_or_username": "jane.doe" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.py new file mode 100644 index 000000000..a3e7bc40f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/dismiss_trello_message_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.DismissTrelloMessage" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'message_to_dismiss': 'Try Trello Premium trial offer', 'member_id_or_username': 'jane.doe' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.js new file mode 100644 index 000000000..c7a0f619b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.EditTrelloComment"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "new_comment_text": "Updated the deployment steps to include the missing environment variables and rollback notes.", + "card_id": "5f8d3a2b9c1e4b7a2c123456", + "comment_action_id": "5f8d3a2b9c1e4b7a2c654321" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.py new file mode 100644 index 000000000..aa931e4c6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/edit_trello_comment_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.EditTrelloComment" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'new_comment_text': 'Updated the deployment steps to include the missing environment variables ' + 'and rollback notes.', + 'card_id': '5f8d3a2b9c1e4b7a2c123456', + 'comment_action_id': '5f8d3a2b9c1e4b7a2c654321' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.js new file mode 100644 index 000000000..efcb60985 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GenerateBoardEmailKey"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d3a2b9c1e4b0012345678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.py new file mode 100644 index 000000000..55e358ced --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/generate_board_email_key_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GenerateBoardEmailKey" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d3a2b9c1e4b0012345678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.js new file mode 100644 index 000000000..2e8f3f76d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GenerateTrelloBoardCalendarKey"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c9a2b1e4a7f9c3d2e1b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.py new file mode 100644 index 000000000..7ff41c888 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/generate_trello_board_calendar_key_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GenerateTrelloBoardCalendarKey" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c9a2b1e4a7f9c3d2e1b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.js new file mode 100644 index 000000000..474a543ac --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetActionMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f2a1b3c9e8d4f0012345678", + "member_fields": "id,username,fullName,avatarUrl" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.py new file mode 100644 index 000000000..81d7f20ee --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_action_member_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetActionMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f2a1b3c9e8d4f0012345678', 'member_fields': 'id,username,fullName,avatarUrl' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.js new file mode 100644 index 000000000..d6cc2b249 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetActionProperty"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "64b8f2e3a1c4d9b0f1234567", + "action_field": "data" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.py new file mode 100644 index 000000000..a76e29286 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_action_property_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetActionProperty" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '64b8f2e3a1c4d9b0f1234567', 'action_field': 'data' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.js new file mode 100644 index 000000000..80b6d5355 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetApplicationComplianceData"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "application_key": "app-12345-key" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.py new file mode 100644 index 000000000..3f52d1d2d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_application_compliance_data_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetApplicationComplianceData" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'application_key': 'app-12345-key' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.js new file mode 100644 index 000000000..b1ab07fde --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBlockedNotificationKeys"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane.doe", + "notification_channel": "email" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.py new file mode 100644 index 000000000..d5c928afa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_blocked_notification_keys_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBlockedNotificationKeys" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane.doe', 'notification_channel': 'email' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.js new file mode 100644 index 000000000..b9bc515c4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardByListId"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0d3a2c1b4e7a9c123456", + "board_fields": "id,name,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.py new file mode 100644 index 000000000..6fa2d91e8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_by_list_id_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardByListId" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0d3a2c1b4e7a9c123456', 'board_fields': 'id,name,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.js new file mode 100644 index 000000000..cb70c37fc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardChecklists"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0d4e9a1b2c3d4e5f6a7b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.py new file mode 100644 index 000000000..8c4986bc3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_checklists_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardChecklists" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0d4e9a1b2c3d4e5f6a7b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.js new file mode 100644 index 000000000..e4d4993e4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardCustomFields"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c2a9b1e4c3a7d2f9b01" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.py new file mode 100644 index 000000000..b14e14e60 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_custom_fields_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardCustomFields" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c2a9b1e4c3a7d2f9b01' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.js new file mode 100644 index 000000000..6cea468bc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5d5ea2b9f1a2c123456789ab", + "board_field_name": "name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.py new file mode 100644 index 000000000..e6c3884c1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_field_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5d5ea2b9f1a2c123456789ab', 'board_field_name': 'name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.js new file mode 100644 index 000000000..8b138c074 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardForAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0d3a2b9c4e7a1f2d3c4b", + "board_fields": "id,name,desc" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.py new file mode 100644 index 000000000..f6feb7afb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_for_action_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardForAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0d3a2b9c4e7a1f2d3c4b', 'board_fields': 'id,name,desc' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.js new file mode 100644 index 000000000..78cc2ca95 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardForChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "chk_9876543210", + "board_fields_filter": "name,owner" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.py new file mode 100644 index 000000000..460e52721 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_for_checklist_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardForChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': 'chk_9876543210', 'board_fields_filter': 'name,owner' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.js new file mode 100644 index 000000000..2cf270084 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5d5ea6b2f1a4c1234567890a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.py new file mode 100644 index 000000000..70db25224 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_members_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5d5ea6b2f1a4c1234567890a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.js new file mode 100644 index 000000000..6a7f30675 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardMemberships"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0a2b9c1e4a3b2c7d1234", + "membership_filter": "all", + "member_fields_to_display": "id", + "include_activity": false, + "display_organization_member_type": true, + "include_nested_member_object": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.py new file mode 100644 index 000000000..fd92f158b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_memberships_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardMemberships" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0a2b9c1e4a3b2c7d1234', + 'membership_filter': 'all', + 'member_fields_to_display': 'id', + 'include_activity': False, + 'display_organization_member_type': True, + 'include_nested_member_object': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.js new file mode 100644 index 000000000..3f633278b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardNotificationInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f8d7a2b9c1e4b3a7d2f6c11", + "board_fields_selection": "id,name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.py new file mode 100644 index 000000000..548ea19a3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_notification_info_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardNotificationInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f8d7a2b9c1e4b3a7d2f6c11', 'board_fields_selection': 'id,name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.js new file mode 100644 index 000000000..8f4ed82f8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardPowerUps"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f6a1c2b3d4e5f6789012345" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.py new file mode 100644 index 000000000..c5a0d1a23 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_power_ups_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardPowerUps" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f6a1c2b3d4e5f6789012345' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.js new file mode 100644 index 000000000..4fdf12022 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardStar"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "board_star_id": "5f8d04a2c9b1e7001a2b3c4d" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.py new file mode 100644 index 000000000..87ea02e45 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_star_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardStar" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'board_star_id': '5f8d04a2c9b1e7001a2b3c4d' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.js new file mode 100644 index 000000000..43fb341b0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetBoardStars"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c1234abcd567890ef01", + "filter_by_board_stars": "mine" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.py new file mode 100644 index 000000000..b63139a77 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_board_stars_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetBoardStars" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c1234abcd567890ef01', 'filter_by_board_stars': 'mine' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.js new file mode 100644 index 000000000..b9ede1dee --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.js @@ -0,0 +1,35 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardAttachmentDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0c9a2b1e4a3f6c7d8e9f", + "attachment_id": "60a7b3c4d5e6f7890a1b2c3d", + "attachment_fields": [ + "name", + "url", + "mimeType", + "bytes" + ] +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.py new file mode 100644 index 000000000..17d4baa1d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_attachment_details_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardAttachmentDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0c9a2b1e4a3f6c7d8e9f', + 'attachment_id': '60a7b3c4d5e6f7890a1b2c3d', + 'attachment_fields': ['name', 'url', 'mimeType', 'bytes'] +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.js new file mode 100644 index 000000000..47bf436cc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardBoardInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0c3a9b1e4a2d7c123456", + "board_field_selection": "name,desc" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.py new file mode 100644 index 000000000..5c1acd713 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_board_info_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardBoardInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0c3a9b1e4a2d7c123456', 'board_field_selection': 'name,desc' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.js new file mode 100644 index 000000000..91e71a869 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardByChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f8d0d2a9b1e4c3a7f2e1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.py new file mode 100644 index 000000000..370ebaf5b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_by_checklist_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardByChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f8d0d2a9b1e4c3a7f2e1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.js new file mode 100644 index 000000000..c7601acb6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardChecklists"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6d7a8b9c0de123456789ab", + "include_check_items": "all", + "checkitem_fields_selection": "name,state,idMember", + "include_all_checklists": "all", + "card_info_fields": "idCard,name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.py new file mode 100644 index 000000000..054a87201 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_checklists_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardChecklists" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6d7a8b9c0de123456789ab', + 'include_check_items': 'all', + 'checkitem_fields_selection': 'name,state,idMember', + 'include_all_checklists': 'all', + 'card_info_fields': 'idCard,name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.js new file mode 100644 index 000000000..54557caa8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0c9b1234567890abcd12", + "member_fields": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.py new file mode 100644 index 000000000..ed7c8e735 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_members_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0c9b1234567890abcd12', 'member_fields': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.js new file mode 100644 index 000000000..59c04b23b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardSticker"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "sticker_id": "60a7b8c9d0e1f234567890ab", + "sticker_fields": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.py new file mode 100644 index 000000000..ebde70d65 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_sticker_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardSticker" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', + 'sticker_id': '60a7b8c9d0e1f234567890ab', + 'sticker_fields': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.js new file mode 100644 index 000000000..b8c3a9cb7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardStickers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f7a1c2b9d3e4f0012345678", + "sticker_fields": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.py new file mode 100644 index 000000000..2b57aae35 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_stickers_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardStickers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f7a1c2b9d3e4f0012345678', 'sticker_fields': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.js new file mode 100644 index 000000000..89e5db4a3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCardVoters"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f7a1c2b9d3e4a0012b34567", + "member_fields": "fullName,username" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.py new file mode 100644 index 000000000..2930a1412 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_card_voters_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCardVoters" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f7a1c2b9d3e4a0012b34567', 'member_fields': 'fullName,username' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.js new file mode 100644 index 000000000..db72a2b98 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetChecklistDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f8d0c3a9b1e4a7f6c2d1234", + "card_visibility_filter": "open", + "check_items_to_return": "all", + "checkitem_fields_to_return": "name,pos,state", + "include_checklist_fields": "name,pos" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.py new file mode 100644 index 000000000..6ed1feec5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_details_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetChecklistDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f8d0c3a9b1e4a7f6c2d1234', + 'card_visibility_filter': 'open', + 'check_items_to_return': 'all', + 'checkitem_fields_to_return': 'name,pos,state', + 'include_checklist_fields': 'name,pos' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.js new file mode 100644 index 000000000..9d8f51359 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetChecklistField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f6a1c2b3d4e5f67890abcde", + "checklist_field_to_retrieve": "name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.py new file mode 100644 index 000000000..9e2eeabc8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_field_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetChecklistField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f6a1c2b3d4e5f67890abcde', 'checklist_field_to_retrieve': 'name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.js new file mode 100644 index 000000000..b07229fd0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetChecklistItem"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "chk_98765", + "check_item_id": "item_12345", + "checkitem_fields": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.py new file mode 100644 index 000000000..a8a1d8e52 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_item_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetChecklistItem" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': 'chk_98765', 'check_item_id': 'item_12345', 'checkitem_fields': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.js new file mode 100644 index 000000000..418e02198 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetChecklistItems"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f6a1b2c3d4e5f6789012345", + "checkitem_filter": "all", + "include_checkitem_fields": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.py new file mode 100644 index 000000000..90e1e2a83 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_checklist_items_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetChecklistItems" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f6a1b2c3d4e5f6789012345', + 'checkitem_filter': 'all', + 'include_checkitem_fields': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.js new file mode 100644 index 000000000..1694c2872 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetClaimableWorkspaces"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_12345", + "workspace_limit": 25, + "sort_order_cursor": "cursor_abc", + "enterprise_name": "Acme Corporation", + "active_since_date": "2025-01-01", + "inactive_since_date": "2024-12-31" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.py new file mode 100644 index 000000000..fca67077f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_claimable_workspaces_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetClaimableWorkspaces" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_12345', + 'workspace_limit': 25, + 'sort_order_cursor': 'cursor_abc', + 'enterprise_name': 'Acme Corporation', + 'active_since_date': '2025-01-01', + 'inactive_since_date': '2024-12-31' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.js new file mode 100644 index 000000000..61bdb4e68 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCompletedChecklistItems"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "checklist_item_fields": "idCheckItem,state" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.py new file mode 100644 index 000000000..35adff4f3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_completed_checklist_items_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCompletedChecklistItems" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', 'checklist_item_fields': 'idCheckItem,state' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.js new file mode 100644 index 000000000..661bbe69d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCustomBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "custom_background_id": "bg_92f7a1" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.py new file mode 100644 index 000000000..73fef89bc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_background_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCustomBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'custom_background_id': 'bg_92f7a1' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.js new file mode 100644 index 000000000..dce0f4e45 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCustomBoardBackgrounds"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jessica.dev", + "background_filter": "custom" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.py new file mode 100644 index 000000000..b01d87e5f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_board_backgrounds_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCustomBoardBackgrounds" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jessica.dev', 'background_filter': 'custom' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.js new file mode 100644 index 000000000..9c51a51bd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetCustomFieldOptions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "custom_field_id": "5f8d0c2a9b1e2a3b4c6d7e8f" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.py new file mode 100644 index 000000000..0e2ca3fb6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_custom_field_options_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetCustomFieldOptions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'custom_field_id': '5f8d0c2a9b1e2a3b4c6d7e8f' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.js new file mode 100644 index 000000000..588a51932 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetDropdownCustomfieldOption"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "customfield_item_id": "5f8d7a2b3c4e1d2a6b7c8e9f", + "customfield_option_id": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.py new file mode 100644 index 000000000..def318868 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_dropdown_customfield_option_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetDropdownCustomfieldOption" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'customfield_item_id': '5f8d7a2b3c4e1d2a6b7c8e9f', + 'customfield_option_id': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.js new file mode 100644 index 000000000..d206090be --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseAdmins"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_1234567890", + "member_fields": "id,name,email,role" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.py new file mode 100644 index 000000000..f051c920c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_admins_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseAdmins" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_1234567890', 'member_fields': 'id,name,email,role' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.js new file mode 100644 index 000000000..6fd0b5434 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseAuditLog"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_9a8b7c6d5e4f3" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.py new file mode 100644 index 000000000..fe0adfa8d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_audit_log_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseAuditLog" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_9a8b7c6d5e4f3' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.js new file mode 100644 index 000000000..4a7cce093 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.js @@ -0,0 +1,41 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseById"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "5f8d0d55a1b2c3001a2b3c4d", + "enterprise_fields_to_retrieve": "id,name,displayName,createdAt", + "member_inclusion_type": "admins", + "member_fields": "username", + "member_filter_query": "status eq \"active\" and title co \"Engineer\"", + "member_sort_value": "-lastName", + "member_sort": "-lastName", + "deprecated_member_sort_order": "desc", + "member_start_index": 0, + "member_count": 25, + "organization_visibility_filter": "members", + "organization_fields": "id,name,paidAccount", + "organization_memberships_filter": "me,active", + "include_paid_account_information": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.py new file mode 100644 index 000000000..b06ff9645 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_by_id_example_call_tool.py @@ -0,0 +1,42 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseById" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': '5f8d0d55a1b2c3001a2b3c4d', + 'enterprise_fields_to_retrieve': 'id,name,displayName,createdAt', + 'member_inclusion_type': 'admins', + 'member_fields': 'username', + 'member_filter_query': 'status eq "active" and title co "Engineer"', + 'member_sort_value': '-lastName', + 'member_sort': '-lastName', + 'deprecated_member_sort_order': 'desc', + 'member_start_index': 0, + 'member_count': 25, + 'organization_visibility_filter': 'members', + 'organization_fields': 'id,name,paidAccount', + 'organization_memberships_filter': 'me,active', + 'include_paid_account_information': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.js new file mode 100644 index 000000000..7a40925a7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseMemberById"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_12345", + "member_id": "mbr_67890", + "member_fields": "id,fullName,email,role", + "organization_fields": "id,name,domain", + "board_fields_for_enterprise_member": "id,name,permission" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.py new file mode 100644 index 000000000..04717cfb6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_member_by_id_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseMemberById" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_12345', + 'member_id': 'mbr_67890', + 'member_fields': 'id,fullName,email,role', + 'organization_fields': 'id,name,domain', + 'board_fields_for_enterprise_member': 'id,name,permission' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.js new file mode 100644 index 000000000..2a2106086 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.js @@ -0,0 +1,35 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_12345", + "member_fields": "id,fullName,username,email", + "scim_filter_query": "userName eq \"jdoe@example.com\"", + "sort_members": "-fullName", + "member_start_index": 0, + "member_count_filter": "count eq 50", + "organization_fields": "id,name", + "included_board_fields": "id,name,closed" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.py new file mode 100644 index 000000000..93d199863 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_members_example_call_tool.py @@ -0,0 +1,36 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_12345', + 'member_fields': 'id,fullName,username,email', + 'scim_filter_query': 'userName eq "jdoe@example.com"', + 'sort_members': '-fullName', + 'member_start_index': 0, + 'member_count_filter': 'count eq 50', + 'organization_fields': 'id,name', + 'included_board_fields': 'id,name,closed' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.js new file mode 100644 index 000000000..ca5ac7452 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseSignupUrl"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_9a1b2c3d4e", + "redirect_url": "https://example.com/welcome", + "require_authentication": true, + "has_user_accepted_confirmation": false, + "tos_accepted": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.py new file mode 100644 index 000000000..a3ed3a898 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_signup_url_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseSignupUrl" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_9a1b2c3d4e', + 'redirect_url': 'https://example.com/welcome', + 'require_authentication': True, + 'has_user_accepted_confirmation': False, + 'tos_accepted': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.js new file mode 100644 index 000000000..90a0ad32f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.js @@ -0,0 +1,36 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetEnterpriseUsers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_12345abcd", + "active_since_date": "2025-01-01", + "search_value_filter": "alice", + "pagination_cursor": "cursor_0001", + "licensed_members_only": true, + "return_deactivated_members": false, + "include_collaborators": false, + "return_managed_members": true, + "include_administrators_only": null +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.py new file mode 100644 index 000000000..ee4822cdb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_enterprise_users_example_call_tool.py @@ -0,0 +1,37 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetEnterpriseUsers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_12345abcd', + 'active_since_date': '2025-01-01', + 'search_value_filter': 'alice', + 'pagination_cursor': 'cursor_0001', + 'licensed_members_only': True, + 'return_deactivated_members': False, + 'include_collaborators': False, + 'return_managed_members': True, + 'include_administrators_only': None +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.js new file mode 100644 index 000000000..9b95d830e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetFilteredListsOnBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c7a1b2e3a0012345678", + "list_filter": "open" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.py new file mode 100644 index 000000000..7d527dc19 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_filtered_lists_on_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetFilteredListsOnBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c7a1b2e3a0012345678', 'list_filter': 'open' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.js new file mode 100644 index 000000000..4e19e549a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetFilteredTrelloBoardCards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5d5ea8c9b1f3a72e4c123456", + "card_filter_type": "open" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.py new file mode 100644 index 000000000..64c91ee69 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_filtered_trello_board_cards_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetFilteredTrelloBoardCards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5d5ea8c9b1f3a72e4c123456', 'card_filter_type': 'open' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.js new file mode 100644 index 000000000..d39254a4e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetInvitedWorkspaces"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_identifier": "jane_doe_92", + "organization_fields_selection": "id,name,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.py new file mode 100644 index 000000000..080e29baa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_invited_workspaces_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetInvitedWorkspaces" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_identifier': 'jane_doe_92', 'organization_fields_selection': 'id,name,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.js new file mode 100644 index 000000000..a434a1358 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetListActions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0d3a9c1b2e7a4f123456", + "action_type_filter": "createCard,updateCard,commentCard" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.py new file mode 100644 index 000000000..861cc35e1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_list_actions_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetListActions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0d3a9c1b2e7a4f123456', 'action_type_filter': 'createCard,updateCard,commentCard' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.js new file mode 100644 index 000000000..19a42a620 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetListsOnBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f6a1b2c3d4e5f6a7b8c9d0e", + "card_filter": "open", + "card_fields_to_retrieve": "id,name,due,labels", + "list_filter": "open", + "list_fields": "id,name,pos" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.py new file mode 100644 index 000000000..2e552dcff --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_lists_on_board_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetListsOnBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f6a1b2c3d4e5f6a7b8c9d0e', + 'card_filter': 'open', + 'card_fields_to_retrieve': 'id,name,due,labels', + 'list_filter': 'open', + 'list_fields': 'id,name,pos' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.js new file mode 100644 index 000000000..627b210ce --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane.doe", + "board_background_id": "5f8d0c7a1234567890abcd12", + "background_fields": "brightness,fullSizeUrl,scaled" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.py new file mode 100644 index 000000000..cef3fc689 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_board_background_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane.doe', + 'board_background_id': '5f8d0c7a1234567890abcd12', + 'background_fields': 'brightness,fullSizeUrl,scaled' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.js new file mode 100644 index 000000000..2712341fa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberCustomBoardBackgrounds"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane.doe" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.py new file mode 100644 index 000000000..5b7296dba --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_board_backgrounds_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberCustomBoardBackgrounds" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane.doe' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.js new file mode 100644 index 000000000..5ee36b5c9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberCustomEmoji"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith", + "custom_emoji_id": "emoji_789abc", + "custom_emoji_fields": "name,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.py new file mode 100644 index 000000000..dd050c876 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emoji_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberCustomEmoji" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith', + 'custom_emoji_id': 'emoji_789abc', + 'custom_emoji_fields': 'name,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.js new file mode 100644 index 000000000..fd5c4ac2c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberCustomEmojis"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_identifier": "alice-smith" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.py new file mode 100644 index 000000000..437e3a56e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_emojis_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberCustomEmojis" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_identifier': 'alice-smith' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.js new file mode 100644 index 000000000..1e01b52c3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberCustomSticker"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith", + "sticker_id": "5f7c2a9b8e4d3c1a2b0f1234", + "sticker_fields": "url,scaled" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.py new file mode 100644 index 000000000..277a4be15 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_custom_sticker_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberCustomSticker" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith', + 'sticker_id': '5f7c2a9b8e4d3c1a2b0f1234', + 'sticker_fields': 'url,scaled' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.js new file mode 100644 index 000000000..25879c236 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberInvitedBoards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "included_board_fields": "id,name,shortLink" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.py new file mode 100644 index 000000000..796ea06ea --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_invited_boards_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberInvitedBoards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'included_board_fields': 'id,name,shortLink' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.js new file mode 100644 index 000000000..3fbf7e045 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberNotificationSettings"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "johndoe123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.py new file mode 100644 index 000000000..4e009915e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_notification_settings_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberNotificationSettings" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'johndoe123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.js new file mode 100644 index 000000000..c67cddc04 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.js @@ -0,0 +1,39 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberNotifications"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane.doe", + "notification_filter": "commentCard,addMemberToCard", + "notification_read_status": "unread", + "notification_fields": "all", + "notification_limit": 50, + "notification_page": 1, + "notification_id_before": "5f8d0d55a1b2c3d4e5f6a7b8", + "since_notification_id": "5f8d0d55a1b2c3d4e5f6a7b0", + "member_creator_fields": "fullName,username", + "include_entities": true, + "show_display": true, + "include_member_creator": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.py new file mode 100644 index 000000000..87b3024f3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_notifications_example_call_tool.py @@ -0,0 +1,40 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberNotifications" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane.doe', + 'notification_filter': 'commentCard,addMemberToCard', + 'notification_read_status': 'unread', + 'notification_fields': 'all', + 'notification_limit': 50, + 'notification_page': 1, + 'notification_id_before': '5f8d0d55a1b2c3d4e5f6a7b8', + 'since_notification_id': '5f8d0d55a1b2c3d4e5f6a7b0', + 'member_creator_fields': 'fullName,username', + 'include_entities': True, + 'show_display': True, + 'include_member_creator': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.js new file mode 100644 index 000000000..669dfd52a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberProperty"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jdoe123", + "member_property_field": "email" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.py new file mode 100644 index 000000000..ea30f5684 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_property_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberProperty" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jdoe123', 'member_property_field': 'email' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.js new file mode 100644 index 000000000..588a2ec42 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberTrelloCards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jdoe123", + "filter_status": "open" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.py new file mode 100644 index 000000000..d185c5095 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_trello_cards_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberTrelloCards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jdoe123', 'filter_status': 'open' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.js new file mode 100644 index 000000000..36bb66ff2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberUploadedStickers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.py new file mode 100644 index 000000000..53f86474c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_uploaded_stickers_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberUploadedStickers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.js new file mode 100644 index 000000000..f97fbeee2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetMemberWorkspaces"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith", + "workspace_filter": "all", + "organization_fields": "id,name,displayName", + "include_paid_account_info": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.py new file mode 100644 index 000000000..7db57a350 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_member_workspaces_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetMemberWorkspaces" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith', + 'workspace_filter': 'all', + 'organization_fields': 'id,name,displayName', + 'include_paid_account_info': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.js new file mode 100644 index 000000000..c3a5912dc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetNotificationCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f7a1c2b9d3e4a0012345678", + "card_fields": "id,name,desc,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.py new file mode 100644 index 000000000..43ffae80e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetNotificationCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f7a1c2b9d3e4a0012345678', 'card_fields': 'id,name,desc,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.js new file mode 100644 index 000000000..9ed069a1b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetNotificationCreator"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "64b8f2a9c3e4d12f9a0b1234", + "member_fields": "fullName,username,avatarUrl" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.py new file mode 100644 index 000000000..79d1eb1aa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_creator_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetNotificationCreator" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '64b8f2a9c3e4d12f9a0b1234', 'member_fields': 'fullName,username,avatarUrl' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.js new file mode 100644 index 000000000..0f5761f51 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetNotificationMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f8d0c2b9a1e4b3f2c7d9a01", + "member_fields": "username,fullName,avatarUrl" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.py new file mode 100644 index 000000000..1957cc5d4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_member_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetNotificationMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f8d0c2b9a1e4b3f2c7d9a01', 'member_fields': 'username,fullName,avatarUrl' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.js new file mode 100644 index 000000000..7c5ed89d4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetNotificationOrganization"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "64f3a1b2c9e4d7001a2b3c4d", + "organization_fields": "id,name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.py new file mode 100644 index 000000000..8eef88a27 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_organization_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetNotificationOrganization" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '64f3a1b2c9e4d7001a2b3c4d', 'organization_fields': 'id,name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.js new file mode 100644 index 000000000..c5123d2e0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetNotificationProperty"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f6a7b8c9d0e1f2a3b4c5d6e", + "notification_property_field": "date" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.py new file mode 100644 index 000000000..bf951be14 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_notification_property_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetNotificationProperty" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f6a7b8c9d0e1f2a3b4c5d6e', 'notification_property_field': 'date' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.js new file mode 100644 index 000000000..a967f850f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetOpenCardsOnBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0d3a2b7c9a001234abcd" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.py new file mode 100644 index 000000000..b178ed7a4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_open_cards_on_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetOpenCardsOnBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0d3a2b7c9a001234abcd' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.js new file mode 100644 index 000000000..99d7e1b97 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetOrganizationDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "team-frontend-123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.py new file mode 100644 index 000000000..b389ff85b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_details_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetOrganizationDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'team-frontend-123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.js new file mode 100644 index 000000000..ab748e6fe --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetOrganizationFieldTrello"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-org", + "organization_field": "name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.py new file mode 100644 index 000000000..ce1d295dc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_field_trello_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetOrganizationFieldTrello" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-org', 'organization_field': 'name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.js new file mode 100644 index 000000000..7547b95eb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetOrganizationMembership"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-corp", + "membership_id": "5f47ac9e1234567890abcd12", + "include_member_object": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.py new file mode 100644 index 000000000..e20e44a46 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_membership_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetOrganizationMembership" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-corp', + 'membership_id': '5f47ac9e1234567890abcd12', + 'include_member_object': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.js new file mode 100644 index 000000000..226b5f3a5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetOrganizationOfAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0d3a2b9e6c7a1f234567", + "organization_fields": "id,name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.py new file mode 100644 index 000000000..349dc1a3b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_organization_of_action_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetOrganizationOfAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0d3a2b9e6c7a1f234567', 'organization_fields': 'id,name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.js new file mode 100644 index 000000000..ff0d6575c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetPendingEnterpriseWorkspaces"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_987654321", + "active_since_date": "2025-01-01", + "inactive_until_date": "2025-09-30" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.py new file mode 100644 index 000000000..2097a11de --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_pending_enterprise_workspaces_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetPendingEnterpriseWorkspaces" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_987654321', + 'active_since_date': '2025-01-01', + 'inactive_until_date': '2025-09-30' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.js new file mode 100644 index 000000000..caa311e23 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetPluginMemberPrivacyCompliance"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "power_up_id": "5f8d0d3a9b1e4c001234abcd" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.py new file mode 100644 index 000000000..8dcb2527c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_plugin_member_privacy_compliance_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetPluginMemberPrivacyCompliance" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'power_up_id': '5f8d0d3a9b1e4c001234abcd' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.js new file mode 100644 index 000000000..4260102cb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetReactionInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f3a2b9c8e4b7d1a2c9e0f11", + "reaction_id": "r_9b7d4c3a", + "include_member_as_nested_resource": true, + "load_emoji_as_nested_resource": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.py new file mode 100644 index 000000000..c46c61cc4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_reaction_info_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetReactionInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f3a2b9c8e4b7d1a2c9e0f11', + 'reaction_id': 'r_9b7d4c3a', + 'include_member_as_nested_resource': True, + 'load_emoji_as_nested_resource': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.js new file mode 100644 index 000000000..29b096d76 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetReactionSummaryForAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0c9b2a1e4b7f9c123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.py new file mode 100644 index 000000000..d28aa042b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_reaction_summary_for_action_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetReactionSummaryForAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0c9b2a1e4b7f9c123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.js new file mode 100644 index 000000000..f5b36fcc7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetSavedSearchDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "saved_search_id": "5f8d7a2b9c1e4b3a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.py new file mode 100644 index 000000000..8c2de8dfc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_saved_search_details_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetSavedSearchDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'saved_search_id': '5f8d7a2b9c1e4b3a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.js new file mode 100644 index 000000000..5298f15ae --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetSpecificCheckitemOnCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "checkitem_id": "60a7b8c9d0e1f234567890ab", + "checkitem_fields": "name,pos,state" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.py new file mode 100644 index 000000000..8a7e88fff --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_specific_checkitem_on_card_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetSpecificCheckitemOnCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', + 'checkitem_id': '60a7b8c9d0e1f234567890ab', + 'checkitem_fields': 'name,pos,state' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.js new file mode 100644 index 000000000..1a6025ac5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTransferrableOrganizations"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ENT-987654", + "organization_ids": [ + "org-123", + "org-456", + "org-789" + ] +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.py new file mode 100644 index 000000000..2a9bc4e61 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_transferrable_organizations_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTransferrableOrganizations" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ENT-987654', 'organization_ids': ['org-123', 'org-456', 'org-789'] +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.js new file mode 100644 index 000000000..e400948f9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloActionCreator"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f7c9b2e1a2b6c3d4e5f6789", + "member_fields": "username,fullName,avatarUrl" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.py new file mode 100644 index 000000000..d9e53a802 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_creator_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloActionCreator" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f7c9b2e1a2b6c3d4e5f6789', 'member_fields': 'username,fullName,avatarUrl' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.js new file mode 100644 index 000000000..d8cb2d9c3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.js @@ -0,0 +1,35 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "64b8f2a3e1c4b12d9f0a7b21", + "action_fields": "type,date,data,memberCreator", + "member_fields_list": "id,username,fullName", + "member_creator_fields": "all", + "include_display": true, + "include_entities": true, + "include_member": false, + "include_action_creator": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.py new file mode 100644 index 000000000..022333919 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_example_call_tool.py @@ -0,0 +1,36 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '64b8f2a3e1c4b12d9f0a7b21', + 'action_fields': 'type,date,data,memberCreator', + 'member_fields_list': 'id,username,fullName', + 'member_creator_fields': 'all', + 'include_display': True, + 'include_entities': True, + 'include_member': False, + 'include_action_creator': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.js new file mode 100644 index 000000000..721a6aee8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloActionList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0c3a7b2e4a1b9c123456", + "list_fields": "id,name,closed" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.py new file mode 100644 index 000000000..fd63a914b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_action_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloActionList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0c3a7b2e4a1b9c123456', 'list_fields': 'id,name,closed' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.js new file mode 100644 index 000000000..dec83498c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.js @@ -0,0 +1,44 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloBoardDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0d3a9c1b2a00123abcd4", + "include_actions": "true", + "board_stars_filter": "none", + "include_card_details": "true", + "include_checklists": "true", + "board_fields_to_include": "name,url,desc", + "include_labels_resource": "true", + "include_lists": "all", + "include_members": "true", + "include_memberships": "true", + "include_card_plugin_data": false, + "include_custom_fields": true, + "include_plugin_data": false, + "include_organization": true, + "include_organization_plugin_data": false, + "include_my_preferences": true, + "include_tags": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.py new file mode 100644 index 000000000..e4a36a48d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_board_details_example_call_tool.py @@ -0,0 +1,45 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloBoardDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0d3a9c1b2a00123abcd4', + 'include_actions': 'true', + 'board_stars_filter': 'none', + 'include_card_details': 'true', + 'include_checklists': 'true', + 'board_fields_to_include': 'name,url,desc', + 'include_labels_resource': 'true', + 'include_lists': 'all', + 'include_members': 'true', + 'include_memberships': 'true', + 'include_card_plugin_data': False, + 'include_custom_fields': True, + 'include_plugin_data': False, + 'include_organization': True, + 'include_organization_plugin_data': False, + 'include_my_preferences': True, + 'include_tags': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.js new file mode 100644 index 000000000..07ec8318b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.js @@ -0,0 +1,46 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardById"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6d7a8b9c0d1e2f3a4b5c6d", + "card_fields_to_retrieve": "all", + "include_action_details": "all", + "include_attachments": "cover", + "attachment_fields": "all", + "member_fields_selection": "avatarHash,fullName,username", + "member_voted_fields": "fullName,username", + "include_checklists": "all", + "checklist_fields": "all", + "board_fields_to_return": "name,desc,idOrganization", + "sticker_fields": "all", + "include_card_members": true, + "include_members_who_voted": false, + "include_check_item_states": true, + "include_board_object": true, + "include_lists_nested_resource": false, + "include_plugin_data": false, + "include_stickers": true, + "include_custom_field_items": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.py new file mode 100644 index 000000000..a32342a4d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_by_id_example_call_tool.py @@ -0,0 +1,47 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardById" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6d7a8b9c0d1e2f3a4b5c6d', + 'card_fields_to_retrieve': 'all', + 'include_action_details': 'all', + 'include_attachments': 'cover', + 'attachment_fields': 'all', + 'member_fields_selection': 'avatarHash,fullName,username', + 'member_voted_fields': 'fullName,username', + 'include_checklists': 'all', + 'checklist_fields': 'all', + 'board_fields_to_return': 'name,desc,idOrganization', + 'sticker_fields': 'all', + 'include_card_members': True, + 'include_members_who_voted': False, + 'include_check_item_states': True, + 'include_board_object': True, + 'include_lists_nested_resource': False, + 'include_plugin_data': False, + 'include_stickers': True, + 'include_custom_field_items': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.js new file mode 100644 index 000000000..ded939763 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardCustomFieldItems"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.py new file mode 100644 index 000000000..a1cda0522 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_custom_field_items_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardCustomFieldItems" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.js new file mode 100644 index 000000000..fd58d96cd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardFromAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f2a9c1b7e8f4b3d2c1a0e9f", + "card_fields": "id,name,url,desc,labels" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.py new file mode 100644 index 000000000..e6263f45d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_from_action_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardFromAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f2a9c1b7e8f4b3d2c1a0e9f', 'card_fields': 'id,name,url,desc,labels' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.js new file mode 100644 index 000000000..8b45f95f5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2c9b1a6e4f123456", + "list_fields": "id,name,closed" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.py new file mode 100644 index 000000000..434f83e1c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2c9b1a6e4f123456', 'list_fields': 'id,name,closed' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.js new file mode 100644 index 000000000..907f3c0cb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardPluginData"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0f12a3b4c67890de1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.py new file mode 100644 index 000000000..dd6860059 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_plugin_data_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardPluginData" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0f12a3b4c67890de1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.js new file mode 100644 index 000000000..ad04ac638 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCardProperty"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "60d5f9a2b3c4d81234567890", + "card_field_name": "url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.py new file mode 100644 index 000000000..60f89bc33 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_card_property_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCardProperty" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '60d5f9a2b3c4d81234567890', 'card_field_name': 'url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.js new file mode 100644 index 000000000..dc74daa95 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloCustomField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "custom_field_id": "5f8d0a12c3b9a7001a2b3c4d" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.py new file mode 100644 index 000000000..3972dacc8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_custom_field_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloCustomField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'custom_field_id': '5f8d0a12c3b9a7001a2b3c4d' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.js new file mode 100644 index 000000000..022cdca46 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloLabelInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_id": "5f8d0c2a9b1e4a3b2c7d9f01", + "fields_included_in_response": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.py new file mode 100644 index 000000000..b42006251 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_label_info_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloLabelInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_id': '5f8d0c2a9b1e4a3b2c7d9f01', 'fields_included_in_response': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.js new file mode 100644 index 000000000..31c5717e9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloListCards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0c2a9b1e4a3d2c6f7b8a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.py new file mode 100644 index 000000000..d6c4ff0e3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_cards_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloListCards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0c2a9b1e4a3d2c6f7b8a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.js new file mode 100644 index 000000000..70a9cfd09 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloListInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0c2a9b1e4a3d6c7e8f90", + "list_field_names": "all" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.py new file mode 100644 index 000000000..ea9ea2a89 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_list_info_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloListInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0c2a9b1e4a3d6c7e8f90', 'list_field_names': 'all' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.js new file mode 100644 index 000000000..18b896e9f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.js @@ -0,0 +1,48 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloMemberDetails"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith", + "include_actions_details": "all", + "include_boards_details": "all", + "board_background_options": "custom", + "boards_invited_filter": "open,public", + "boards_invited_fields": "id,name,desc", + "include_card_details": "all", + "include_custom_board_backgrounds": "all", + "include_custom_emoji": "none", + "include_custom_stickers": "none", + "member_detail_fields": "all", + "include_notifications": "none", + "organizations_inclusion": "members", + "organization_fields": "id,name", + "invited_organizations_scope": "public", + "organization_fields_invited": "id,name", + "include_tokens": "none", + "include_board_stars": true, + "include_paid_account_info_in_workspace": false, + "include_paid_account_info": false, + "include_saved_searches": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.py new file mode 100644 index 000000000..d5989219e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_member_details_example_call_tool.py @@ -0,0 +1,49 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloMemberDetails" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith', + 'include_actions_details': 'all', + 'include_boards_details': 'all', + 'board_background_options': 'custom', + 'boards_invited_filter': 'open,public', + 'boards_invited_fields': 'id,name,desc', + 'include_card_details': 'all', + 'include_custom_board_backgrounds': 'all', + 'include_custom_emoji': 'none', + 'include_custom_stickers': 'none', + 'member_detail_fields': 'all', + 'include_notifications': 'none', + 'organizations_inclusion': 'members', + 'organization_fields': 'id,name', + 'invited_organizations_scope': 'public', + 'organization_fields_invited': 'id,name', + 'include_tokens': 'none', + 'include_board_stars': True, + 'include_paid_account_info_in_workspace': False, + 'include_paid_account_info': False, + 'include_saved_searches': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.js new file mode 100644 index 000000000..3c1d5b70d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.js @@ -0,0 +1,42 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloNotification"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f7c8b2e9a1d3b4f2c6e7a90", + "board_fields_to_include": "id,name,desc", + "card_fields_to_include": "id,name,due,labels,shortUrl", + "notification_fields": "id,type,unread,date", + "member_fields_inclusion": "id,username,fullName", + "include_member_creator_fields": "all", + "organization_field_selection": "id,name", + "include_board_object": true, + "include_card": true, + "include_display": true, + "include_entities": false, + "include_list_object": true, + "include_member": true, + "include_member_creator_object": true, + "include_organization": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.py new file mode 100644 index 000000000..b90ae1520 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_example_call_tool.py @@ -0,0 +1,43 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloNotification" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f7c8b2e9a1d3b4f2c6e7a90', + 'board_fields_to_include': 'id,name,desc', + 'card_fields_to_include': 'id,name,due,labels,shortUrl', + 'notification_fields': 'id,type,unread,date', + 'member_fields_inclusion': 'id,username,fullName', + 'include_member_creator_fields': 'all', + 'organization_field_selection': 'id,name', + 'include_board_object': True, + 'include_card': True, + 'include_display': True, + 'include_entities': False, + 'include_list_object': True, + 'include_member': True, + 'include_member_creator_object': True, + 'include_organization': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.js new file mode 100644 index 000000000..de87cc3df --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloNotificationList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f7c9b2a1e8f4a3d2c6b7a90", + "list_fields": "id,name,closed" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.py new file mode 100644 index 000000000..e7da74533 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_notification_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloNotificationList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f7c9b2a1e8f4a3d2c6b7a90', 'list_fields': 'id,name,closed' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.js new file mode 100644 index 000000000..9486679dd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloPlugin"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-org" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.py new file mode 100644 index 000000000..f6b134b75 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_plugin_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloPlugin" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-org' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.js new file mode 100644 index 000000000..90445c046 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloTokenOwnerInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "user_token": "abcd1234efgh5678ijkl9012", + "member_info_fields_to_retrieve": "fullName,username,avatarUrl,memberType" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.py new file mode 100644 index 000000000..1d4063982 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_owner_info_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloTokenOwnerInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'user_token': 'abcd1234efgh5678ijkl9012', + 'member_info_fields_to_retrieve': 'fullName,username,avatarUrl,memberType' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.js new file mode 100644 index 000000000..b2050f2d0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloTokenWebhooks"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "trello_token": "abcd1234efgh5678token" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.py new file mode 100644 index 000000000..f703f1a8d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_token_webhooks_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloTokenWebhooks" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'trello_token': 'abcd1234efgh5678token' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.js new file mode 100644 index 000000000..a5ce409aa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloWebhookById"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "webhook_id": "5f8d0c2a3e2b4a1f9c0d1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.py new file mode 100644 index 000000000..f41e494f9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_by_id_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloWebhookById" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'webhook_id': '5f8d0c2a3e2b4a1f9c0d1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.js new file mode 100644 index 000000000..d40061280 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetTrelloWebhookField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "webhook_id": "5f8d0c2b9a1e7b3c4d2f6a1b", + "webhook_field_to_retrieve": "callbackURL" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.py new file mode 100644 index 000000000..c1cdb18e1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_trello_webhook_field_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetTrelloWebhookField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'webhook_id': '5f8d0c2b9a1e7b3c4d2f6a1b', 'webhook_field_to_retrieve': 'callbackURL' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.js new file mode 100644 index 000000000..f08f67411 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.GetWorkspaceScopedPluginData"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-team-123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.py new file mode 100644 index 000000000..b3e3a216e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/get_workspace_scoped_plugin_data_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.GetWorkspaceScopedPluginData" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-team-123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.js new file mode 100644 index 000000000..5761403d1 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListActionReactions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "action_id": "5f8d0a2b9c1e4b7a6d3e2f10", + "include_member_as_nested_resource": true, + "include_emoji": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.py new file mode 100644 index 000000000..3eecb2700 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_action_reactions_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListActionReactions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'action_id': '5f8d0a2b9c1e4b7a6d3e2f10', + 'include_member_as_nested_resource': True, + 'include_emoji': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.js new file mode 100644 index 000000000..314576cf8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListAvailableEmoji"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "locale": "en-US", + "include_spritesheet_urls": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.py new file mode 100644 index 000000000..76352fb45 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_available_emoji_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListAvailableEmoji" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'locale': 'en-US', 'include_spritesheet_urls': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.js new file mode 100644 index 000000000..e6c50b4c6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListBoardPowerUps"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5d8f0b2a3c4e6f0011223344", + "power_up_status_filter": "enabled" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.py new file mode 100644 index 000000000..c2403d969 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_board_power_ups_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListBoardPowerUps" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5d8f0b2a3c4e6f0011223344', 'power_up_status_filter': 'enabled' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.js new file mode 100644 index 000000000..38b7ee050 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListCardActions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0b3a9c1e4a7b2c123456", + "action_type_filter": "commentCard,updateCard", + "results_page_number": 1 +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.py new file mode 100644 index 000000000..1aee74173 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_card_actions_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListCardActions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0b3a9c1e4a7b2c123456', + 'action_type_filter': 'commentCard,updateCard', + 'results_page_number': 1 +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.js new file mode 100644 index 000000000..1735fa1d5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListCardAttachments"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f6a1b2c3d4e5f6789012345", + "attachment_fields": "all", + "restrict_to_cover_attachment": "cover" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.py new file mode 100644 index 000000000..1c17a714a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_card_attachments_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListCardAttachments" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f6a1b2c3d4e5f6789012345', + 'attachment_fields': 'all', + 'restrict_to_cover_attachment': 'cover' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.js new file mode 100644 index 000000000..d4bdc8cb0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListMemberActions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "action_types_filter": "createCard,commentCard,updateCard" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.py new file mode 100644 index 000000000..1f631b56a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_actions_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListMemberActions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'action_types_filter': 'createCard,commentCard,updateCard' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.js new file mode 100644 index 000000000..71a8f1af8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListMemberAppTokens"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice_smith", + "include_webhooks": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.py new file mode 100644 index 000000000..cbb2db787 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_app_tokens_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListMemberAppTokens" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice_smith', 'include_webhooks': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.js new file mode 100644 index 000000000..453defa8b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListMemberBoardStars"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice.smith" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.py new file mode 100644 index 000000000..a7aa2bf36 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_board_stars_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListMemberBoardStars" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice.smith' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.js new file mode 100644 index 000000000..6036fe143 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListMemberSavedSearches"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice42" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.py new file mode 100644 index 000000000..188b20d7d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_member_saved_searches_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListMemberSavedSearches" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice42' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.js new file mode 100644 index 000000000..bcf4a4576 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListOrganizationCollections"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "acme-marketing" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.py new file mode 100644 index 000000000..aa048f1e4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_organization_collections_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListOrganizationCollections" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'acme-marketing' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.js new file mode 100644 index 000000000..87e6022a0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListUserBoards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "board_filter": "open,starred", + "board_fields": "id,name,desc,url", + "include_lists_with_boards": "open", + "include_organization_fields": "id,name", + "include_organization": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.py new file mode 100644 index 000000000..401333311 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_user_boards_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListUserBoards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', + 'board_filter': 'open,starred', + 'board_fields': 'id,name,desc,url', + 'include_lists_with_boards': 'open', + 'include_organization_fields': 'id,name', + 'include_organization': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.js new file mode 100644 index 000000000..6fc92a758 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListWorkspaceActions"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_identifier": "team-marketing-123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.py new file mode 100644 index 000000000..397d95453 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_actions_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListWorkspaceActions" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_identifier': 'team-marketing-123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.js new file mode 100644 index 000000000..a9cc9bc80 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListWorkspaceBoards"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "acme-team-workspace", + "board_status_filter": "open,organization", + "board_fields_to_retrieve": "id,name,url" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.py new file mode 100644 index 000000000..c5ad615a9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_boards_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListWorkspaceBoards" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'acme-team-workspace', + 'board_status_filter': 'open,organization', + 'board_fields_to_retrieve': 'id,name,url' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.js new file mode 100644 index 000000000..d0e8df231 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListWorkspaceMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_identifier": "team-marketing-9a8b7c6d" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.py new file mode 100644 index 000000000..88e9573bc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_members_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListWorkspaceMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_identifier': 'team-marketing-9a8b7c6d' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.js new file mode 100644 index 000000000..e9c2b3c7c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ListWorkspaceMemberships"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "marketing-team", + "membership_filter": "active,admin", + "include_member_objects": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.py new file mode 100644 index 000000000..062044172 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/list_workspace_memberships_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ListWorkspaceMemberships" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'marketing-team', + 'membership_filter': 'active,admin', + 'include_member_objects': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.js new file mode 100644 index 000000000..3a59b23cc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MakeTrelloMemberEnterpriseAdmin"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_9a1b2c3d4e", + "member_id_to_promote": "mem_7f6e5d4c3b" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.py new file mode 100644 index 000000000..e56d12be4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/make_trello_member_enterprise_admin_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MakeTrelloMemberEnterpriseAdmin" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_9a1b2c3d4e', 'member_id_to_promote': 'mem_7f6e5d4c3b' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.js new file mode 100644 index 000000000..d3f52750d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MarkAllNotificationsRead"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_ids_to_mark": [ + "5f1a7b3c9e8f1a2b3c4d5e6f", + "5f2b8c4d0a1b2c3d4e5f6a7b" + ], + "mark_notifications_read": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.py new file mode 100644 index 000000000..7037afdfd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_all_notifications_read_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MarkAllNotificationsRead" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_ids_to_mark': ['5f1a7b3c9e8f1a2b3c4d5e6f', '5f2b8c4d0a1b2c3d4e5f6a7b'], + 'mark_notifications_read': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.js new file mode 100644 index 000000000..25192ee47 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MarkCardNotificationsRead"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1e4c7a9f123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.py new file mode 100644 index 000000000..fdb0facbc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_card_notifications_read_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MarkCardNotificationsRead" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1e4c7a9f123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.js new file mode 100644 index 000000000..4b76b30eb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MarkTrelloBoardAsViewed"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0d3a9b1e4c2a1f3b4567" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.py new file mode 100644 index 000000000..5d116f8dc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/mark_trello_board_as_viewed_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MarkTrelloBoardAsViewed" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0d3a9b1e4c2a1f3b4567' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.js new file mode 100644 index 000000000..08741010e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ModifyTrelloAction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "new_comment_text": "Updated: Please review the latest test results and confirm the deployment window.", + "action_id": "5f8d0c3a9b1e4c2a7f123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.py new file mode 100644 index 000000000..7cfbec5c5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/modify_trello_action_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ModifyTrelloAction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'new_comment_text': 'Updated: Please review the latest test results and confirm the deployment ' + 'window.', + 'action_id': '5f8d0c3a9b1e4c2a7f123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.js new file mode 100644 index 000000000..8a2f31f7a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MoveAllCardsInList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "target_board_id": "5f8d0d3a2b9c1e001234abcd", + "target_list_id": "5f8d0d3a2b9c1e001234abce", + "source_list_id": "5f8d0d3a2b9c1e001234abcf" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.py new file mode 100644 index 000000000..fd0aafff7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/move_all_cards_in_list_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MoveAllCardsInList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'target_board_id': '5f8d0d3a2b9c1e001234abcd', + 'target_list_id': '5f8d0d3a2b9c1e001234abce', + 'source_list_id': '5f8d0d3a2b9c1e001234abcf' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.js new file mode 100644 index 000000000..26c9e9503 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.MoveListToBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "target_board_id": "5f8d0d3b2a7c4e1a9b2c3d4e", + "list_id": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.py new file mode 100644 index 000000000..5ac0f4d79 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/move_list_to_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.MoveListToBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'target_board_id': '5f8d0d3b2a7c4e1a9b2c3d4e', 'list_id': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.js new file mode 100644 index 000000000..24bfd068d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveCardSticker"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0c3a2b1e4a7f9c123456", + "sticker_id": "60a2b3c4d5e6f78901234567" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.py new file mode 100644 index 000000000..f45d785f9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_card_sticker_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveCardSticker" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0c3a2b1e4a7f9c123456', 'sticker_id': '60a2b3c4d5e6f78901234567' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.js new file mode 100644 index 000000000..33e95ebc8 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveChecklistItem"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f8d0c2a9b1e4a7d3c2f1234", + "check_item_id": "5f8d0c2a9b1e4a7d3c2f5678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.py new file mode 100644 index 000000000..42619760e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_checklist_item_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveChecklistItem" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f8d0c2a9b1e4a7d3c2f1234', 'check_item_id': '5f8d0c2a9b1e4a7d3c2f5678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.js new file mode 100644 index 000000000..8ffe21c5b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveEnterpriseAdmin"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "5f8d0d55a3b1c7001a2b3c4d", + "member_id_to_remove_admin": "60b8f1e2d4a12b0012345678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.py new file mode 100644 index 000000000..2f7196cdb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_enterprise_admin_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveEnterpriseAdmin" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': '5f8d0d55a3b1c7001a2b3c4d', + 'member_id_to_remove_admin': '60b8f1e2d4a12b0012345678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.js new file mode 100644 index 000000000..65ea3c271 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveLabelFromCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1c4e7a9f123456", + "label_id_to_remove": "lbl_9a8b7c6d" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.py new file mode 100644 index 000000000..cb59a288f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_label_from_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveLabelFromCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1c4e7a9f123456', 'label_id_to_remove': 'lbl_9a8b7c6d' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.js new file mode 100644 index 000000000..835df379c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveMemberFromCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1c4e7a9f0b1234", + "member_id_to_remove": "58a3c9d4e6b7f01234567890" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.py new file mode 100644 index 000000000..b414b37cd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveMemberFromCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1c4e7a9f0b1234', 'member_id_to_remove': '58a3c9d4e6b7f01234567890' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.js new file mode 100644 index 000000000..e268d4519 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveMemberFromTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0d3a9c1b2e7a12345678", + "member_id_to_remove": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.py new file mode 100644 index 000000000..61fc68bd4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_from_trello_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveMemberFromTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0d3a9c1b2e7a12345678', 'member_id_to_remove': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.js new file mode 100644 index 000000000..19084926c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveMemberVoteFromCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d7a9c3b2a1e4f6b7c8d", + "member_id_to_remove_vote": "60a1b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.py new file mode 100644 index 000000000..cad3b3463 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_member_vote_from_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveMemberVoteFromCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d7a9c3b2a1e4f6b7c8d', 'member_id_to_remove_vote': '60a1b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.js new file mode 100644 index 000000000..d541cdbde --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveOrganizationFromEnterprise"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_12345", + "organization_id_to_remove": "org_67890" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.py new file mode 100644 index 000000000..e1c182b71 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_organization_from_enterprise_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveOrganizationFromEnterprise" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_12345', 'organization_id_to_remove': 'org_67890' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..4adb0a35d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "webhook_id": "5f8d7a2b9c1e4a3b2c6d7e8f" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..e4da90f1e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_trello_webhook_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'webhook_id': '5f8d7a2b9c1e4a3b2c6d7e8f' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.js new file mode 100644 index 000000000..f85ee9e77 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveWorkspaceGoogleDomain"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "marketing-team-workspace" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.py new file mode 100644 index 000000000..1a522a853 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_google_domain_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveWorkspaceGoogleDomain" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'marketing-team-workspace' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.js new file mode 100644 index 000000000..95af61d48 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveWorkspaceInviteRestriction"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "team-creative-studio" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.py new file mode 100644 index 000000000..c4cc9ccf4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_invite_restriction_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveWorkspaceInviteRestriction" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'team-creative-studio' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.js new file mode 100644 index 000000000..c6b9b0f8d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RemoveWorkspaceMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_id_or_name": "marketing-team", + "member_id_to_remove": "5f8d04a2c3b2e70017a9b123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.py new file mode 100644 index 000000000..71d285df7 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/remove_workspace_member_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RemoveWorkspaceMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_id_or_name': 'marketing-team', 'member_id_to_remove': '5f8d04a2c3b2e70017a9b123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.js new file mode 100644 index 000000000..c037fcbcd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RenameTrelloList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "5f8d0c3a9b1e4a2b7c123456", + "list_field_to_update": "name", + "new_list_name": "QA Review" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.py new file mode 100644 index 000000000..ea9edc993 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/rename_trello_list_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RenameTrelloList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '5f8d0c3a9b1e4a2b7c123456', + 'list_field_to_update': 'name', + 'new_list_name': 'QA Review' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.js new file mode 100644 index 000000000..5cffaf815 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RetrieveTrelloOrganizationExports"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_id_or_name": "team-acme-marketing" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.py new file mode 100644 index 000000000..da0d6ef08 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_organization_exports_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RetrieveTrelloOrganizationExports" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_id_or_name': 'team-acme-marketing' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.js new file mode 100644 index 000000000..6412549be --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RetrieveTrelloTokenInfo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "trello_token": "abcd1234efgh5678ijkl", + "token_info_fields": "dateCreated,dateExpires,permissions", + "include_webhooks": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.py new file mode 100644 index 000000000..a8f168d84 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_token_info_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RetrieveTrelloTokenInfo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'trello_token': 'abcd1234efgh5678ijkl', + 'token_info_fields': 'dateCreated,dateExpires,permissions', + 'include_webhooks': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..8dc1e444e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.RetrieveTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "access_token": "trello_token_ABC123", + "webhook_id": "5f6a7b8c9d0e1f234567890a" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..75708dd10 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/retrieve_trello_webhook_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.RetrieveTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'access_token': 'trello_token_ABC123', 'webhook_id': '5f6a7b8c9d0e1f234567890a' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.js new file mode 100644 index 000000000..3e65afad4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.SearchTrelloMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "search_query": "alice@example.com OR \"Alice Johnson\"", + "maximum_results": 10, + "organization_id": "5f8d0d3a2b1e4c0012345678", + "search_only_organization_members": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.py new file mode 100644 index 000000000..07ddbf01d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/search_trello_members_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.SearchTrelloMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'search_query': 'alice@example.com OR "Alice Johnson"', + 'maximum_results': 10, + 'organization_id': '5f8d0d3a2b1e4c0012345678', + 'search_only_organization_members': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.js new file mode 100644 index 000000000..b3cbd5619 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.SetDefaultEmailToBoardList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "email_list_id": "5f8a1c2b3d4e6f001234abcd", + "board_id": "60b8f9e2a1b2c3009d8e7f01" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.py new file mode 100644 index 000000000..32744f7a6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/set_default_email_to_board_list_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.SetDefaultEmailToBoardList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'email_list_id': '5f8a1c2b3d4e6f001234abcd', 'board_id': '60b8f9e2a1b2c3009d8e7f01' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.js new file mode 100644 index 000000000..ca9644821 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.SetWorkspaceLogo"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_id_or_name": "team-marketing", + "workspace_logo_file": "[file_content]" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.py new file mode 100644 index 000000000..009770726 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/set_workspace_logo_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.SetWorkspaceLogo" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_id_or_name': 'team-marketing', 'workspace_logo_file': '[file_content]' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.js new file mode 100644 index 000000000..0ecf3754a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.StarBoardForMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id_to_star": "5f8d0d55a1b2c3001a2b3c4d", + "position_of_starred_board": "top", + "member_id_or_username": "janedoe" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.py new file mode 100644 index 000000000..ca75e6cc2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/star_board_for_member_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.StarBoardForMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id_to_star': '5f8d0d55a1b2c3001a2b3c4d', + 'position_of_starred_board': 'top', + 'member_id_or_username': 'janedoe' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.js new file mode 100644 index 000000000..9fde1786a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.StartOrganizationCsvExport"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "workspace_identifier": "marketing-team-workspace", + "include_attachments": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.py new file mode 100644 index 000000000..2ff8eff75 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/start_organization_csv_export_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.StartOrganizationCsvExport" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'workspace_identifier': 'marketing-team-workspace', 'include_attachments': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.js new file mode 100644 index 000000000..35a202204 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.ToggleWorkspaceMemberStatus"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_identifier": "acme-marketing", + "member_id_or_username": "jdoe", + "deactivate_member": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.py new file mode 100644 index 000000000..edd80b904 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/toggle_workspace_member_status_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.ToggleWorkspaceMemberStatus" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_identifier': 'acme-marketing', + 'member_id_or_username': 'jdoe', + 'deactivate_member': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.js new file mode 100644 index 000000000..eb9b6974a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.TransferOrgToEnterprise"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_to_transfer": "org_789", + "enterprise_id": "ent_456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.py new file mode 100644 index 000000000..b21d61e15 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/transfer_org_to_enterprise_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.TransferOrgToEnterprise" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_to_transfer': 'org_789', 'enterprise_id': 'ent_456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.js new file mode 100644 index 000000000..920be37f6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.js @@ -0,0 +1,39 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.TrelloBatchGetRequests"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "api_routes_list": [ + "/boards/5abbe4b7ddc1b351ef961414", + "/boards/5abbe4b7ddc1b351ef961414/lists", + "/boards/5abbe4b7ddc1b351ef961414/cards", + "/members/me", + "/organizations/4d5ea62fd76aa1136000000c", + "/cards/54d5ea62fd76aa1136000000d", + "/lists/54d5ea62fd76aa1136000000e", + "/tokens/abcd1234/tokeninfo", + "/actions/5c2a1b2f3d4e5f6a7b8c9d0e", + "/search?query=project&modelTypes=boards,cards" + ] +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.py new file mode 100644 index 000000000..1494dce70 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/trello_batch_get_requests_example_call_tool.py @@ -0,0 +1,38 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.TrelloBatchGetRequests" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'api_routes_list': [ '/boards/5abbe4b7ddc1b351ef961414', + '/boards/5abbe4b7ddc1b351ef961414/lists', + '/boards/5abbe4b7ddc1b351ef961414/cards', + '/members/me', + '/organizations/4d5ea62fd76aa1136000000c', + '/cards/54d5ea62fd76aa1136000000d', + '/lists/54d5ea62fd76aa1136000000e', + '/tokens/abcd1234/tokeninfo', + '/actions/5c2a1b2f3d4e5f6a7b8c9d0e', + '/search?query=project&modelTypes=boards,cards'] +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.js new file mode 100644 index 000000000..6d51409cf --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.js @@ -0,0 +1,46 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.TrelloSearch"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "search_query": "release notes board", + "board_filter": "mine", + "search_object_types": "boards,cards", + "board_fields_to_include": "name,url", + "maximum_boards_to_return": 10, + "card_fields_selection": "name,due,labels", + "maximum_cards_to_return": 50, + "cards_page_number": 1, + "include_card_attachments": "cover", + "organization_fields": "name,url", + "maximum_workspaces_to_return": 5, + "member_fields": "fullName,username,avatarHash", + "maximum_members_to_return": 20, + "include_board_organization": true, + "include_parent_board_with_card_results": true, + "include_parent_list_with_card_results": true, + "include_card_members": true, + "include_card_stickers": false, + "partial_match_search": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.py new file mode 100644 index 000000000..5dd7ab228 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/trello_search_example_call_tool.py @@ -0,0 +1,47 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.TrelloSearch" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'search_query': 'release notes board', + 'board_filter': 'mine', + 'search_object_types': 'boards,cards', + 'board_fields_to_include': 'name,url', + 'maximum_boards_to_return': 10, + 'card_fields_selection': 'name,due,labels', + 'maximum_cards_to_return': 50, + 'cards_page_number': 1, + 'include_card_attachments': 'cover', + 'organization_fields': 'name,url', + 'maximum_workspaces_to_return': 5, + 'member_fields': 'fullName,username,avatarHash', + 'maximum_members_to_return': 20, + 'include_board_organization': True, + 'include_parent_board_with_card_results': True, + 'include_parent_list_with_card_results': True, + 'include_card_members': True, + 'include_card_stickers': False, + 'partial_match_search': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.js new file mode 100644 index 000000000..ac50ec0b2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UnstarTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "board_star_id": "5f8d0d3a2b7c4e0012345678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.py new file mode 100644 index 000000000..70c3c9f45 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/unstar_trello_board_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UnstarTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', 'board_star_id': '5f8d0d3a2b7c4e0012345678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.js new file mode 100644 index 000000000..29ee9dd1a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "board_background_id": "bg_9f3a21", + "background_brightness": "light", + "tile_background": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.py new file mode 100644 index 000000000..24dbe845c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_background_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', + 'board_background_id': 'bg_9f3a21', + 'background_brightness': 'light', + 'tile_background': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.js new file mode 100644 index 000000000..10f1554fe --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateBoardEmailPosition"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "email_position_preference": "top", + "board_id": "5f8d0c3a9b1e2a0012345678" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.py new file mode 100644 index 000000000..71c78fe26 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_email_position_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateBoardEmailPosition" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'email_position_preference': 'top', 'board_id': '5f8d0c3a9b1e2a0012345678' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.js new file mode 100644 index 000000000..16a9323a5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateBoardMembership"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "membership_type": "normal", + "board_id": "5f8d0d3e9a1b2c3d4e5f6789", + "membership_id_to_add": "60a1b2c3d4e5f67890ab1234", + "membership_field_type": "memberType" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.py new file mode 100644 index 000000000..3c7629502 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_membership_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateBoardMembership" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'membership_type': 'normal', + 'board_id': '5f8d0d3e9a1b2c3d4e5f6789', + 'membership_id_to_add': '60a1b2c3d4e5f67890ab1234', + 'membership_field_type': 'memberType' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.js new file mode 100644 index 000000000..ca620ae51 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateBoardSidebarPreference"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c3a9b1e4a2d7c123456", + "show_sidebar": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.py new file mode 100644 index 000000000..05ca0fdfa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_board_sidebar_preference_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateBoardSidebarPreference" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c3a9b1e4a2d7c123456', 'show_sidebar': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.js new file mode 100644 index 000000000..d940c57f4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateChecklistField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_name_update_value": "Release checklist v2", + "checklist_id": "5f8d0d3a2b1c4e7f9a0b1234", + "field_to_update": "name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.py new file mode 100644 index 000000000..1b10adea4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_checklist_field_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateChecklistField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_name_update_value': 'Release checklist v2', + 'checklist_id': '5f8d0d3a2b1c4e7f9a0b1234', + 'field_to_update': 'name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.js new file mode 100644 index 000000000..ecb3a310b --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateChecklistItemOnCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2b1e4c6a7f9b1234", + "checklist_item_id": "611a2b3c4d5e6f7890ab1234", + "checklist_id": "4b7c2d1e8f9a0b6c3d2e4567", + "position_in_checklist": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.py new file mode 100644 index 000000000..9d0c8fff3 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_checklist_item_on_card_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateChecklistItemOnCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2b1e4c6a7f9b1234', + 'checklist_item_id': '611a2b3c4d5e6f7890ab1234', + 'checklist_id': '4b7c2d1e8f9a0b6c3d2e4567', + 'position_in_checklist': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.js new file mode 100644 index 000000000..581a7ae56 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateCustomBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "custom_background_id": "bg_987654321", + "background_brightness": "light", + "tile_background": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.py new file mode 100644 index 000000000..2e80d6e59 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_custom_board_background_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateCustomBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', + 'custom_background_id': 'bg_987654321', + 'background_brightness': 'light', + 'tile_background': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.js new file mode 100644 index 000000000..53c66bf8e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateMemberLicenseStatus"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "enterprise_id": "ent_8a7f3c", + "member_id": "user_42b1", + "grant_enterprise_license": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.py new file mode 100644 index 000000000..3dfc958ed --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_member_license_status_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateMemberLicenseStatus" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'enterprise_id': 'ent_8a7f3c', 'member_id': 'user_42b1', 'grant_enterprise_license': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.js new file mode 100644 index 000000000..057bccaf6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateMemberNotificationBlockedKeys"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "alice123", + "notification_channel": "email", + "blocked_notification_keys": "notification_comment_card,notification_added_a_due_date" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.py new file mode 100644 index 000000000..2b4fc4d37 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_member_notification_blocked_keys_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateMemberNotificationBlockedKeys" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'alice123', + 'notification_channel': 'email', + 'blocked_notification_keys': 'notification_comment_card,notification_added_a_due_date' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.js new file mode 100644 index 000000000..d6ba72556 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateNotificationReadStatus"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f8d0c7a2b1e4a3d9c0b1234", + "notification_unread_status": "false" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.py new file mode 100644 index 000000000..937ca0330 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_notification_read_status_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateNotificationReadStatus" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f8d0c7a2b1e4a3d9c0b1234', 'notification_unread_status': 'false' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.js new file mode 100644 index 000000000..e54922c28 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateNotificationStatus"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "notification_id": "5f47ac9b8e2b4c3a1d2e7f90", + "mark_as_read": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.py new file mode 100644 index 000000000..9b481790a --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_notification_status_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateNotificationStatus" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'notification_id': '5f47ac9b8e2b4c3a1d2e7f90', 'mark_as_read': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.js new file mode 100644 index 000000000..ce8ee5206 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.js @@ -0,0 +1,40 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateOrganization"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "team-alpha", + "new_organization_name": "team_alpha_01", + "new_display_name": "Team Alpha", + "organization_description": "Project coordination and planning workspace.", + "organization_website_url": "https://team-alpha.example.com", + "google_apps_domain": "alpha.example.com", + "google_apps_version": 2, + "workspace_board_visibility_restriction": "admin", + "private_board_visibility_restriction": "org", + "public_board_visibility_restriction": "none", + "organization_invite_restriction_email": "*@example.com", + "workspace_visibility": "private", + "allow_external_members": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.py new file mode 100644 index 000000000..2e3a39602 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_organization_example_call_tool.py @@ -0,0 +1,41 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateOrganization" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'team-alpha', + 'new_organization_name': 'team_alpha_01', + 'new_display_name': 'Team Alpha', + 'organization_description': 'Project coordination and planning workspace.', + 'organization_website_url': 'https://team-alpha.example.com', + 'google_apps_domain': 'alpha.example.com', + 'google_apps_version': 2, + 'workspace_board_visibility_restriction': 'admin', + 'private_board_visibility_restriction': 'org', + 'public_board_visibility_restriction': 'none', + 'organization_invite_restriction_email': '*@example.com', + 'workspace_visibility': 'private', + 'allow_external_members': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.js new file mode 100644 index 000000000..539cb6d3d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.js @@ -0,0 +1,31 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateOrganizationMembers"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_email": "jane.doe@example.com", + "member_full_name": "Jane Doe", + "organization_id_or_name": "acme-team", + "member_role_type": "admin" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.py new file mode 100644 index 000000000..741aed576 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_organization_members_example_call_tool.py @@ -0,0 +1,32 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateOrganizationMembers" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_email': 'jane.doe@example.com', + 'member_full_name': 'Jane Doe', + 'organization_id_or_name': 'acme-team', + 'member_role_type': 'admin' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.js new file mode 100644 index 000000000..d1f8cfd8e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateSavedSearch"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "saved_search_id": "ss_78910", + "new_saved_search_name": "Open Bugs - High Priority", + "new_search_query": "is:open label:bug label:high-priority", + "new_search_position": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.py new file mode 100644 index 000000000..ce5b56328 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_saved_search_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateSavedSearch" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', + 'saved_search_id': 'ss_78910', + 'new_saved_search_name': 'Open Bugs - High Priority', + 'new_search_query': 'is:open label:bug label:high-priority', + 'new_search_position': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.js new file mode 100644 index 000000000..128e304dc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateSidebarActivityPreference"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c2a9b1e3a7c12345678", + "show_sidebar_activity": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.py new file mode 100644 index 000000000..d4dc728ff --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_activity_preference_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateSidebarActivityPreference" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c2a9b1e3a7c12345678', 'show_sidebar_activity': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.js new file mode 100644 index 000000000..42ee64882 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateSidebarBoardActionsPrefs"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c2a9b1e2c3d4f6a7b8c", + "show_sidebar_board_actions": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.py new file mode 100644 index 000000000..1a8d05588 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sidebar_board_actions_prefs_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateSidebarBoardActionsPrefs" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c2a9b1e2c3d4f6a7b8c', 'show_sidebar_board_actions': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.js new file mode 100644 index 000000000..b1a815088 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateStarredBoardPosition"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_or_username": "jane_doe", + "board_star_id": "5f8d0c9a2b1e4a3f", + "new_position_for_starred_board": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.py new file mode 100644 index 000000000..b6ffe92f0 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_starred_board_position_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateStarredBoardPosition" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_or_username': 'jane_doe', + 'board_star_id': '5f8d0c9a2b1e4a3f', + 'new_position_for_starred_board': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.js new file mode 100644 index 000000000..b7629eb82 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.js @@ -0,0 +1,33 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateStickerOnTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "sticker_top_position": 12.5, + "left_position": -10, + "sticker_z_index": 3, + "card_id": "5f8d7c9a2b1e4a3f", + "sticker_id": "sticker_42", + "sticker_rotation_angle": 15 +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.py new file mode 100644 index 000000000..bc21ffabf --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_sticker_on_trello_card_example_call_tool.py @@ -0,0 +1,34 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateStickerOnTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'sticker_top_position': 12.5, + 'left_position': -10, + 'sticker_z_index': 3, + 'card_id': '5f8d7c9a2b1e4a3f', + 'sticker_id': 'sticker_42', + 'sticker_rotation_angle': 15 +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.js new file mode 100644 index 000000000..77fff2163 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.js @@ -0,0 +1,49 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloBoard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0a12b3c4e56789ab0123", + "board_new_name": "Sprint Planning Board", + "new_board_description": "Board for tracking sprint tasks and planning.", + "user_subscribed_status": "true", + "workspace_id_for_board": "60d21b4667d0d8992e610c85", + "board_permission_level": "private", + "board_invitation_permission": "admins", + "voting_permission": "members", + "comment_permission": "members", + "board_background_id": "blue", + "card_aging_preference": "regular", + "green_label_name": "Low Priority", + "yellow_label_name": "Medium Priority", + "orange_label_name": "High Priority", + "red_label_name": "Critical", + "purple_label_name": "Blocked", + "blue_label_name": "Research", + "is_board_closed": false, + "allow_workspace_self_join": true, + "display_card_covers": true, + "hide_votes": false, + "enable_calendar_feed": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.py new file mode 100644 index 000000000..20b4b5c10 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_board_example_call_tool.py @@ -0,0 +1,50 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloBoard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0a12b3c4e56789ab0123', + 'board_new_name': 'Sprint Planning Board', + 'new_board_description': 'Board for tracking sprint tasks and planning.', + 'user_subscribed_status': 'true', + 'workspace_id_for_board': '60d21b4667d0d8992e610c85', + 'board_permission_level': 'private', + 'board_invitation_permission': 'admins', + 'voting_permission': 'members', + 'comment_permission': 'members', + 'board_background_id': 'blue', + 'card_aging_preference': 'regular', + 'green_label_name': 'Low Priority', + 'yellow_label_name': 'Medium Priority', + 'orange_label_name': 'High Priority', + 'red_label_name': 'Critical', + 'purple_label_name': 'Blocked', + 'blue_label_name': 'Research', + 'is_board_closed': False, + 'allow_workspace_self_join': True, + 'display_card_covers': True, + 'hide_votes': False, + 'enable_calendar_feed': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.js new file mode 100644 index 000000000..db6ace160 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloChecklist"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "checklist_id": "5f7a1c2b9e8f4d3a2b1c0d9e", + "checklist_name": "Release QA Checklist", + "checklist_position": "top" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.py new file mode 100644 index 000000000..b3c9d1afc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloChecklist" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'checklist_id': '5f7a1c2b9e8f4d3a2b1c0d9e', + 'checklist_name': 'Release QA Checklist', + 'checklist_position': 'top' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.js new file mode 100644 index 000000000..1dcb68ab5 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.js @@ -0,0 +1,36 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloChecklistItem"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "card_id": "5f8d0d3a2c9b1a7e4b2c3d4f", + "checkitem_id": "60a1b2c3d4e5f67890123456", + "new_checklist_item_name": "Write unit tests for payment module", + "checkitem_state": "incomplete", + "checklist_id": "5f8d0d3a2c9b1a7e4b2c3d50", + "position": "top", + "checkitem_due_date": "2025-10-15", + "due_reminder_minutes": 1440, + "member_id_to_remove": "53b2c1d4e5f678901234abcd" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.py new file mode 100644 index 000000000..08fa37b90 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_checklist_item_example_call_tool.py @@ -0,0 +1,37 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloChecklistItem" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'card_id': '5f8d0d3a2c9b1a7e4b2c3d4f', + 'checkitem_id': '60a1b2c3d4e5f67890123456', + 'new_checklist_item_name': 'Write unit tests for payment module', + 'checkitem_state': 'incomplete', + 'checklist_id': '5f8d0d3a2c9b1a7e4b2c3d50', + 'position': 'top', + 'checkitem_due_date': '2025-10-15', + 'due_reminder_minutes': 1440, + 'member_id_to_remove': '53b2c1d4e5f678901234abcd' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.js new file mode 100644 index 000000000..75f102d12 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloComment"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "new_comment_text": "Updated the checklist and moved the due date to next Wednesday. Please review.", + "action_id": "5f6a8d2b3c9a4e1f2b7c1234" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.py new file mode 100644 index 000000000..0f4139bdd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_comment_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloComment" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'new_comment_text': 'Updated the checklist and moved the due date to next Wednesday. Please ' + 'review.', + 'action_id': '5f6a8d2b3c9a4e1f2b7c1234' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.js new file mode 100644 index 000000000..61e1a75c9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloLabel"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "label_id": "5f8d7a12b3c4d567e89f0123", + "new_label_name": "High Priority", + "new_label_color": "red" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.py new file mode 100644 index 000000000..af3dbef39 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloLabel" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'label_id': '5f8d7a12b3c4d567e89f0123', + 'new_label_name': 'High Priority', + 'new_label_color': 'red' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.js new file mode 100644 index 000000000..d32f2deb6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloLabelField"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "new_field_value": "Urgent", + "label_id": "5f7a1c2b3d4e6f7890ab12cd", + "label_field_to_update": "name" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.py new file mode 100644 index 000000000..1adfd1bdd --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_label_field_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloLabelField" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'new_field_value': 'Urgent', + 'label_id': '5f7a1c2b3d4e6f7890ab12cd', + 'label_field_to_update': 'name' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.js new file mode 100644 index 000000000..135485ee2 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloList"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "list_id": "605d1f8e9b1e4c3a2f7b9a01", + "new_list_name": "Sprint Backlog", + "list_new_position": "top", + "archive_list": false, + "member_subscribed": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.py new file mode 100644 index 000000000..a129a0dbc --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_list_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloList" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'list_id': '605d1f8e9b1e4c3a2f7b9a01', + 'new_list_name': 'Sprint Backlog', + 'list_new_position': 'top', + 'archive_list': False, + 'member_subscribed': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.js new file mode 100644 index 000000000..96ae50e5e --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.js @@ -0,0 +1,36 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_identifier": "5f8d0d55a0b1c23e7f1a2b3c", + "new_member_full_name": "Alex Rivera", + "member_initials": "AR", + "new_username": "alex_rivera", + "member_bio": "Product manager focused on UX and agile delivery.", + "avatar_source_option": "upload", + "preferred_locale": "en-US", + "update_interval_minutes": 60, + "enable_color_blind_mode": false +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.py new file mode 100644 index 000000000..3f8a60b15 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_member_example_call_tool.py @@ -0,0 +1,37 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_identifier': '5f8d0d55a0b1c23e7f1a2b3c', + 'new_member_full_name': 'Alex Rivera', + 'member_initials': 'AR', + 'new_username': 'alex_rivera', + 'member_bio': 'Product manager focused on UX and agile delivery.', + 'avatar_source_option': 'upload', + 'preferred_locale': 'en-US', + 'update_interval_minutes': 60, + 'enable_color_blind_mode': False +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.js new file mode 100644 index 000000000..5df07880c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.js @@ -0,0 +1,28 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloPlugin"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "organization_id_or_name": "acme-team" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.py new file mode 100644 index 000000000..32ad7d508 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_plugin_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloPlugin" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'organization_id_or_name': 'acme-team' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.js new file mode 100644 index 000000000..c808c6cac --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloSidebarMembersView"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "board_id": "5f8d0c3a9b1e2a7d6c4f1234", + "show_sidebar_members": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.py new file mode 100644 index 000000000..9a99969c4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_sidebar_members_view_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloSidebarMembersView" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'board_id': '5f8d0c3a9b1e2a7d6c4f1234', 'show_sidebar_members': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.js new file mode 100644 index 000000000..755c23082 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateTrelloWebhook"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "webhook_id": "605c72d9f1a2b84e9b3a1c7d", + "webhook_description": "Notify external service when card moved to Done", + "callback_url": "https://example.com/trello-webhook", + "model_id_to_monitor": "board_9a8b7c6d5e4f", + "set_webhook_active": true +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.py new file mode 100644 index 000000000..6c3cbc2aa --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_trello_webhook_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateTrelloWebhook" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'webhook_id': '605c72d9f1a2b84e9b3a1c7d', + 'webhook_description': 'Notify external service when card moved to Done', + 'callback_url': 'https://example.com/trello-webhook', + 'model_id_to_monitor': 'board_9a8b7c6d5e4f', + 'set_webhook_active': True +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.js new file mode 100644 index 000000000..2ed1c3bea --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.js @@ -0,0 +1,32 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateWebhookToken"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "authentication_token": "token_abc123", + "webhook_id": "5f8d0c9a7b1e2d3f4a6b7c8d", + "webhook_description": "Card update notifications", + "callback_url": "https://example.com/trello-webhook", + "webhook_object_id": "60a7b2c3d4e5f67890123456" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.py new file mode 100644 index 000000000..5b7affde9 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_webhook_token_example_call_tool.py @@ -0,0 +1,33 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateWebhookToken" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'authentication_token': 'token_abc123', + 'webhook_id': '5f8d0c9a7b1e2d3f4a6b7c8d', + 'webhook_description': 'Card update notifications', + 'callback_url': 'https://example.com/trello-webhook', + 'webhook_object_id': '60a7b2c3d4e5f67890123456' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.js new file mode 100644 index 000000000..2ddc2c78d --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.js @@ -0,0 +1,30 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UpdateWorkspaceMember"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_role": "admin", + "workspace_organization_id_or_name": "acme-marketing", + "member_id_or_username": "jdoe" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.py new file mode 100644 index 000000000..ca54b4f33 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/update_workspace_member_example_call_tool.py @@ -0,0 +1,31 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UpdateWorkspaceMember" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_role': 'admin', + 'workspace_organization_id_or_name': 'acme-marketing', + 'member_id_or_username': 'jdoe' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.js new file mode 100644 index 000000000..d3fb4f4e4 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UploadBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "background_file": "https://example.com/images/board-bg-sunset.jpg", + "member_id_or_username": "janedoe123" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.py new file mode 100644 index 000000000..a83e89a60 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_board_background_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UploadBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'background_file': 'https://example.com/images/board-bg-sunset.jpg', + 'member_id_or_username': 'janedoe123' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.js new file mode 100644 index 000000000..ed1901f4c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UploadCustomBoardBackground"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "background_image_file": "assets/board-backgrounds/sunset.jpg", + "member_id_or_username": "jane_doe42" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.py new file mode 100644 index 000000000..511e02dcb --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_custom_board_background_example_call_tool.py @@ -0,0 +1,30 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UploadCustomBoardBackground" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'background_image_file': 'assets/board-backgrounds/sunset.jpg', + 'member_id_or_username': 'jane_doe42' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.js new file mode 100644 index 000000000..f4479862c --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.UploadCustomSticker"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "sticker_file_path": "/home/user/images/funky-smile.png", + "member_id_or_username": "jane.doe" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.py new file mode 100644 index 000000000..bb86d0f9f --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/upload_custom_sticker_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.UploadCustomSticker" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'sticker_file_path': '/home/user/images/funky-smile.png', 'member_id_or_username': 'jane.doe' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) diff --git a/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.js b/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.js new file mode 100644 index 000000000..c37d521f6 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.js @@ -0,0 +1,29 @@ +import { Arcade } from "@arcadeai/arcadejs"; + +const client = new Arcade(); // Automatically finds the `ARCADE_API_KEY` env variable + +const USER_ID = "{arcade_user_id}"; +const TOOL_NAME = "TrelloApi.VoteOnTrelloCard"; + +// Start the authorization process +const authResponse = await client.tools.authorize({tool_name: TOOL_NAME}); + +if (authResponse.status !== "completed") { + console.log(`Click this link to authorize: ${authResponse.url}`); +} + +// Wait for the authorization to complete +await client.auth.waitForCompletion(authResponse); + +const toolInput = { + "member_id_to_vote_yes": "5f4d5a2b9c1e3a7b8d0f1234", + "card_id": "64f1a9c2e3b4d56789ab0cde" +}; + +const response = await client.tools.execute({ + tool_name: TOOL_NAME, + input: toolInput, + user_id: USER_ID, +}); + +console.log(JSON.stringify(response.output.value, null, 2)); diff --git a/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.py b/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.py new file mode 100644 index 000000000..2dde9c148 --- /dev/null +++ b/public/examples/integrations/mcp-servers/trello_api/vote_on_trello_card_example_call_tool.py @@ -0,0 +1,29 @@ +import json +from arcadepy import Arcade + +client = Arcade() # Automatically finds the `ARCADE_API_KEY` env variable + +USER_ID = "{arcade_user_id}" +TOOL_NAME = "TrelloApi.VoteOnTrelloCard" + +auth_response = client.tools.authorize( + tool_name=TOOL_NAME, + user_id=USER_ID, +) + +if auth_response.status != "completed": + print(f"Click this link to authorize: {auth_response.url}") + +# Wait for the authorization to complete +client.auth.wait_for_completion(auth_response) + +tool_input = { + 'member_id_to_vote_yes': '5f4d5a2b9c1e3a7b8d0f1234', 'card_id': '64f1a9c2e3b4d56789ab0cde' +} + +response = client.tools.execute( + tool_name=TOOL_NAME, + input=tool_input, + user_id=USER_ID, +) +print(json.dumps(response.output.value, indent=2)) From b5a00d301de9a8e5e0a6041eed89cc6925ded0e3 Mon Sep 17 00:00:00 2001 From: Francisco Liberal Date: Tue, 7 Oct 2025 11:37:05 -0300 Subject: [PATCH 2/2] Updating System-Design version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 32ebef2d8..679202bd1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "homepage": "https://arcade.dev/", "dependencies": { - "@arcadeai/design-system": "^3.2.0", + "@arcadeai/design-system": "^3.4.0", "@next/third-parties": "^15.5.4", "@ory/client": "^1.22.3", "@theguild/remark-mermaid": "^0.3.0",