TaskBullet

v0.2.1
io.github.GriffMurder/taskbullet Checked 3 days ago Published 1 month ago

Place US/CA phone calls and delegate tasks an AI agent cannot finish.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_balance Get balance

Return remaining VA hours, capRoom, and whether a new cap can be filed. Also returns the calls wallet: balance_cents is spendable after open holds, wallet_cents is that amount plus holds_cents, and holds_cents is the sum of unsettled holds. addFundsUrl is POST /api/v1/billing/add-funds and this read does not create a Stripe session. canDelegate is false when hours are unavailable, when spendable hours are not above zero, or when open caps leave no room. canDelegate false while hoursRemaining is above zero means lower maxHours to capRoom or wait. It is not a buy-hours signal. Call this before p…

delegate_task Delegate task

Call get_balance first, then confirm with the user before sending (real hours) unless they already said to send it. Delegate a task to a real human virtual assistant when the AI cannot complete it autonomously. Use this for phone calls, owner-authorized login or captcha steps (never send passwords or OTP), physical-world actions, subjective QA, manual data entry, or anything else outside the model's reach. Returns a taskId for tracking. The job is NOT started until the customer clicks Start on Work. The receipt status is awaiting_customer_start.

ParameterTypeDescription
idempotencyKey *stringSame value as the REST Idempotency-Key header. Required. A repeat returns the original task.
title *stringConcise directive (max 5000 chars).
descriptionstringDetailed context, instructions, and constraints (max 8000 chars). Never include passwords, OTP codes, recovery keys, cookies, or API keys.
dueDatestringOptional human-readable due date (e.g. EOD Friday).
maxHoursnumberSpend cap in hours (default 0.5). VA/AM stop and ask before exceeding. Actual tracked time is billed, not this cap. Max 8.
prioritystring
sourceAgentstringOptional calling-agent label for the audit trail (e.g. grok-bot).
webhookUrlstringOptional public HTTPS callback URL.

list_tasks List delegated tasks

List recently delegated tasks for this account (id, title, status, short result). awaitingCustomerConfirm true means the delivery is done and the human must confirm, cancel, or reopen. amNote is the delivery note and deliverableLinks are https links from that note. pending and in_progress omit customer-cancelled jobs. cancelled is terminal.

ParameterTypeDescription
statusstring

get_task Get delegated task

Get the current status, title, completion timestamp, and full result notes for a specific delegated task. awaitingCustomerConfirm true means ask the human, then confirm_task, cancel_task, or reopen_task. amNote is the AM or VA note. deliverableLinks lists https links. Stop when status is completed, failed, or cancelled. Customer cancel is cancelled, not pending or in_progress, and it does not send the completion webhook.

ParameterTypeDescription
taskId *stringThe taskId returned by delegate_task.

confirm_task Confirm task

Accept a delivery that is awaitingCustomerConfirm. Settles tracked hours, releases the board and ledger hold, and marks the task completed. If the human does not respond, the job confirms itself after 3 days. Ask the human first. Idempotency-Key is required. A repeat of the same key returns the same result.

ParameterTypeDescription
idempotencyKey *stringSame value as the REST Idempotency-Key header. Required.
taskId *stringThe taskId returned by delegate_task.

cancel_task Cancel task

Customer never mind. Releases the hold and bills only tracked time. Does not send the completion webhook. Ask the human first. Idempotency-Key is required.

ParameterTypeDescription
idempotencyKey *stringSame value as the REST Idempotency-Key header. Required.
taskId *stringThe taskId returned by delegate_task.
reasonstringOptional note. Do not include secrets.

reopen_task Reopen task

Send a delivery that is awaitingCustomerConfirm back to the account manager with a reason. Does not settle hours. Ask the human first. Idempotency-Key is required.

ParameterTypeDescription
idempotencyKey *stringSame value as the REST Idempotency-Key header. Required.
reason *stringWhat should happen next. Required. Do not include secrets.
taskId *stringThe taskId returned by delegate_task.

place_call Place call

Place one human phone call. The hold is the full call: the tier minimum for the first minute, then the per-minute rate for each additional minute. Default max_minutes is 5, so a tier 1 US or Canada call holds $6.50. Raise max_minutes on that call to hold more. record_call must be false or omitted. Only US and CA are live. A question is {"id","ask","type"?}: id up to 80 characters, ask up to 1000 characters, at most 20 questions. goal is at most 4000 characters. Idempotency key is required. Poll get_call, or pass callback_url. validate_call checks the body and places no hold.

ParameterTypeDescription
business_name *string
consent_attestation *booleanMust be true.
deadline *stringISO-8601. Needs 60 minutes of weekday 09:00–17:00 recipient-local, unless allow_outside_business_hours is true.
goal *string
idempotencyKey *stringSame value as the REST Idempotency-Key header.
on_behalf_of *string
phone *stringUS or Canada number. 801-414-4664, (801) 414-4664, and +1 801 414 4664 are accepted and stored as E.164.
purpose *string
questions *arrayOne to 20 questions. Each item is {id, ask, type?}.
allow_outside_business_hoursbooleanSet true only after the customer confirms the call may happen outside weekday 09:00–17:00 in the recipient time zone. The deadline then needs 60 minutes of clock time. Omit or false keeps the weekda…
allowed_disclosuresstring
callback_urlstring
extensionstringOptional digits. Passed into the VA instructions. Not billed.
instructionsstringOutranks script wording. The extension is appended for the VA.
languagestringen, fil, tl, war, or ceb. Default en.
max_attemptsintegerDefault 3. Maximum 5.
max_minutesintegerDefault 5. Maximum 60. The hold covers this many minutes.
recipient_timezonestringIANA zone. Omit it and TaskBullet infers a US or Canada area code. An uninferable number needs this field.
record_callbooleanFalse or omit. True is rejected: recording is not available.
retry_preference
scriptstring
script_modestring
shareable_contactstring
time_windowstringOptional 24-hour HH:MM-HH:MM in the recipient time zone. Example: 09:00-17:00. End must be after start.

validate_call Validate call

Check a phone-call body without creating a call or placing a hold. Same fields as place_call, without idempotencyKey. A ready body includes hold_cents for the full call (tier 1 default $6.50 at 5 minutes) and whether recipient_timezone was inferred. valid stays true when spendable balance is below the hold. warnings then includes insufficient_balance with needed_cents and addFundsUrl.

ParameterTypeDescription
allow_outside_business_hoursboolean
allowed_disclosuresstring
business_namestring
callback_urlstring
consent_attestationboolean
deadlinestring
extensionstring
goalstring
instructionsstring
languagestring
max_attemptsinteger
max_minutesinteger
on_behalf_ofstring
phonestring
purposestring
questionsarray
recipient_timezonestring
record_callbooleanFalse or omit.
retry_preference
scriptstring
script_modestring
shareable_contactstring
time_windowstringHH:MM-HH:MM, 24-hour, end after start.

get_call Get call

Read one human phone call, including needs_info missing_fields or the final result.

ParameterTypeDescription
call_id *string

update_call Update call

Fill missing_fields on a call in needs_info. Same result shapes as place_call.

ParameterTypeDescription
call_id *string
allow_outside_business_hoursbooleanSet true only after the customer confirms the call may happen outside weekday 09:00–17:00 in the recipient time zone. The deadline then needs 60 minutes of clock time. Omit or false keeps the weekda…
allowed_disclosuresstring
business_namestring
callback_urlstring
consent_attestationboolean
deadlinestring
extensionstringOptional digits. Passed into the VA instructions.
goalstring
instructionsstring
languagestring
max_attemptsinteger
max_minutesinteger
on_behalf_ofstring
phonestring
purposestring
questionsarray
recipient_timezonestring
record_callboolean
retry_preference
scriptstring
script_modestring
shareable_contactstring
time_windowstring

cancel_call Cancel call

Cancel a call. Status stays cancel_pending until ops confirms. A confirm before any dial refunds the hold and the status becomes cancelled. If the dial already started, the error is cancel_too_late and the call bills normally. A dial after a confirmed cancel is a full refund and the VA is unpaid.

ParameterTypeDescription
call_id *string

get_transcript Get transcript

Read the VA wrap-up summary for one call. This is not a recording. Once the call is wrap_up or completed, the result is that summary plus any question answers, with source wrap_up_summary and recorded false. Before a wrap-up summary exists, the result is transcript_not_ready. A call that ended without a dial (system failure or refund) is "no transcript: call not placed". A cancel after the dial started is call_cancelled. A recorded transcript may be a separate paid feature later and is not returned.

ParameterTypeDescription
call_id *string