pm_configure_task_sharing
Enable, disable, or reconfigure public sharing for a task. Pass shared: true to generate a public link (or refresh the configuration); the response includes the resulting publicLink. Pass shared: false to revoke an existing share. All other fields are optional toggles for which slices of the task are visible to a public viewer. Requires FULL access to the task. API-key scope: tasks:write.
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": {
"taskIdentifier": "<taskIdentifier>"
},
"name": "pm_configure_task_sharing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shared | No | true to publish, false to revoke | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| expiresAt | No | Optional ISO 8601 timestamp when the share link should auto-expire (e.g. "2026-12-31T23:59:59Z") | |
| shareTags | No | Expose tags | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| shareStatus | No | Expose current status | |
| shareDueDate | No | Expose due date | |
| shareAssignee | No | Expose assignees on the public view | |
| shareComments | No | Expose comments | |
| sharePriority | No | Expose priority | |
| shareSubtasks | No | Expose subtasks | |
| taskIdentifier | Yes | Task identifier (tsk_…) or short key | |
| shareAttachments | No | Expose file attachments | |
| shareDescription | No | Expose task description | |
| shareCustomFields | No | Expose custom field values | |
| sharedCustomFieldIdentifiers | No | Explicit allow-list of custom-field identifiers to expose (when shareCustomFields=true) |