Create Subtask (lawmatics_create-subtask)
Add a subtask (checklist item) to a Lawmatics task. Provide the text content and, optionally, an initial completion status. Returns a `relationships` envelope with an {id,type} pointer to the parent task.
Tool Input
taskIdstringrequired— ID of the parent task to add the subtask to; a numeric string(pattern: ^\d+$)
bodystringrequired— Text content of the subtask
doneboolean— Completion status; defaults to false for a new subtask(default: false)
Tool Output
idstringrequired— Unique ID of the created subtask
bodystringrequired— Text content of the subtask
orderintegerrequired— Read-only zero-based position of the subtask within the parent task's checklist
donebooleanrequired— Whether the subtask is completed
createdAtstringrequired— When the subtask was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the subtask was last updated, as an ISO 8601 timestamp
relationshipsobjectrequired— JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow the pointer by calling that resource's own tool (type 'task' -> get-task).
taskobjectnullrequired— Parent task pointer (type 'task'); null when unreported
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
Related Tools