GetPieceTool
Read details of one piece (Task/Story/Epic/Recurent) by relative ID: subtasks, messages, attachments. Estimates: localized text (duration_best, duration_worst) plus numbers in hours (duration_best_hours, duration_worst_hours, worked_out); a day is 7 hours, a week 5 days. A successful response also carries new_messages: the piece messages you did not write and have not been handed yet.
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": {
"account_code": "<account_code>",
"piece_relative_id": "<piece_relative_id>"
},
"name": "GetPieceTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_code | Yes | Account code (e.g., "bcp", "jchsoft") | |
| piece_relative_id | Yes | Relative ID of the piece to read |