Link action to external item
link_action_integrationLink an action to an external item in a project integration. get_project_overview with include=[integrations] lists enabled integrations and ID formats. Azure DevOps work items in a different project in the same organization can still be linked; the response includes a warning when the item's project differs from the mapped project. Basecamp to-dos and cards can be linked from any project the connection can see, by id or basecamp.com URL; the response includes externalProject and mappedProject with no warning. GitHub issues and pull requests can be linked by a github.com URL or owner/repo#number; externalProject is the repository full name. An action can link up to 20 items per integration; linking adds to any existing links, and linking the same item twice is rejected. Owner, Editor, or Contributor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"actionId": "<actionId>",
"integration": "<integration>"
},
"name": "link_action_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | The action ID to link. | |
| projectId | Yes | The Action Log project ID. | |
| externalId | No | External item ID (DevOps work item ID, Basecamp item ID, or Jira issue key). Required for azure-devops. For Basecamp or Jira, provide this or externalUrl. | |
| externalUrl | No | Basecamp or Jira item URL, used when externalId is not provided. | |
| integration | Yes | Integration name: azure-devops, basecamp, or jira (aliases: devops, azdo). |