tools
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| AlreadyLinkedItem pyt3client.models.tools |
||
| Attachment pyt3client.models.tools |
||
| Attachment1 pyt3client.models.tools |
||
| AttachmentDiscardInput pyt3client.models.tools |
||
| AttachmentPrepareUploadInput pyt3client.models.tools |
||
| AttachmentPrepareUploadOutput pyt3client.models.tools |
||
| Attention pyt3client.models.tools |
||
| BackgroundActivity pyt3client.models.tools |
||
| BackgroundActivity1 pyt3client.models.tools |
||
| Capabilities pyt3client.models.tools |
||
| Chain pyt3client.models.tools |
||
| CoalesceWindowSeconds pyt3client.models.tools |
||
| Comment pyt3client.models.tools |
||
| CommentOnIssueInput pyt3client.models.tools |
||
| CommentOnIssueOutput pyt3client.models.tools |
||
| CreateIssueInput pyt3client.models.tools |
||
| CreateIssueOutput pyt3client.models.tools |
||
| Css pyt3client.models.tools |
||
| Dedupe pyt3client.models.tools Replay and coalesce key templates. Window in seconds, default 120. |
||
| Dedupe1 pyt3client.models.tools Replay and coalesce key templates. Window in seconds, default 120. |
||
| Dedupe2 pyt3client.models.tools Replay and coalesce key templates. Window in seconds, default 120. |
||
| DelegatedFrom pyt3client.models.tools |
||
| DelegatedFrom1 pyt3client.models.tools |
||
| DeleteScheduledTaskInput pyt3client.models.tools |
||
| DeleteScheduledTaskOutput pyt3client.models.tools |
||
| EarlierPosition pyt3client.models.tools |
||
| EnvironmentPreferencesUpdateInput pyt3client.models.tools |
||
| EnvironmentPreferencesUpdateOutput pyt3client.models.tools |
||
| EnvironmentReadInput pyt3client.models.tools |
||
| EnvironmentReadOutput pyt3client.models.tools |
||
| Error pyt3client.models.tools |
||
| Excerpt pyt3client.models.tools |
||
| Features pyt3client.models.tools |
||
| File pyt3client.models.tools |
||
| Filters pyt3client.models.tools |
||
| Filters1 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters2 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters3 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters4 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters5 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters6 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters7 pyt3client.models.tools |
||
| Filters71 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters72 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Filters73 pyt3client.models.tools Path: `headers.x-event` or `body.action`. String compare. Objects pass only 'exists'. A `[]` segment matches any array item. `notEquals` passes only if no item equals. |
||
| Guide pyt3client.models.tools |
||
| Guide1 pyt3client.models.tools |
||
| InheritedOption pyt3client.models.tools |
||
| Issue pyt3client.models.tools |
||
| Issue1 pyt3client.models.tools |
||
| Item pyt3client.models.tools |
||
| JsonOutput pyt3client.tool Result of a tool whose server advertises no `outputSchema`. |
||
| LastTitleRegeneration pyt3client.models.tools |
||
| LinkIssueInput pyt3client.models.tools |
||
| LinkIssueOutput pyt3client.models.tools |
||
| LinkPullRequestInput pyt3client.models.tools |
||
| LinkPullRequestOutput pyt3client.models.tools |
||
| LinkPullRequestsInput pyt3client.models.tools |
||
| LinkPullRequestsOutput pyt3client.models.tools |
||
| LinkedItem pyt3client.models.tools |
||
| LinkedPullRequest pyt3client.models.tools |
||
| LinkedPullRequest1 pyt3client.models.tools |
||
| ListIssuesInput pyt3client.models.tools |
||
| ListIssuesOutput pyt3client.models.tools |
||
| ListScheduledTasksInput pyt3client.models.tools |
||
| ListScheduledTasksOutput pyt3client.models.tools |
||
| ListThreadIssuesInput pyt3client.models.tools |
||
| ListThreadIssuesOutput pyt3client.models.tools |
||
| ListThreadPullRequestsInput pyt3client.models.tools |
||
| ListThreadPullRequestsOutput pyt3client.models.tools |
||
| Locator pyt3client.models.tools |
||
| Match pyt3client.models.tools |
||
| MaxDeliveryAgeMinutes pyt3client.models.tools |
||
| Model pyt3client.models.tools |
||
| ModelSelection pyt3client.models.tools |
||
| NextCursor pyt3client.models.tools |
||
| NextPosition pyt3client.models.tools |
||
| NextTextOffset pyt3client.models.tools |
||
| Note pyt3client.models.tools |
||
| Number pyt3client.models.tools |
||
| OmittedModels pyt3client.models.tools |
||
| OpenPullRequestCount pyt3client.models.tools |
||
| Option pyt3client.models.tools |
||
| OrchestratorCapabilitiesInput pyt3client.models.tools |
||
| OrchestratorCapabilitiesOutput pyt3client.models.tools |
||
| Origin pyt3client.models.tools |
||
| PendingBackgroundTask pyt3client.models.tools |
||
| PendingRequestInput pyt3client.models.tools |
||
| Platform pyt3client.models.tools |
||
| Preferences pyt3client.models.tools |
||
| Project pyt3client.models.tools |
||
| ProjectCloneInput pyt3client.models.tools |
||
| ProjectCloneOutput pyt3client.models.tools |
||
| ProjectCreateInput pyt3client.models.tools |
||
| ProjectCreateOutput pyt3client.models.tools |
||
| ProjectDeleteInput pyt3client.models.tools |
||
| ProjectDeleteOutput pyt3client.models.tools |
||
| ProjectIcon pyt3client.models.tools |
||
| ProjectIcon1 pyt3client.models.tools |
||
| ProjectIcon10 pyt3client.models.tools |
||
| ProjectIcon11 pyt3client.models.tools |
||
| ProjectIcon12 pyt3client.models.tools |
||
| ProjectIcon13 pyt3client.models.tools |
||
| ProjectIcon14 pyt3client.models.tools |
||
| ProjectIcon15 pyt3client.models.tools |
||
| ProjectIcon16 pyt3client.models.tools |
||
| ProjectIcon17 pyt3client.models.tools |
||
| ProjectIcon18 pyt3client.models.tools |
||
| ProjectIcon19 pyt3client.models.tools |
||
| ProjectIcon2 pyt3client.models.tools |
||
| ProjectIcon20 pyt3client.models.tools |
||
| ProjectIcon3 pyt3client.models.tools |
||
| ProjectIcon4 pyt3client.models.tools |
||
| ProjectIcon5 pyt3client.models.tools |
||
| ProjectIcon6 pyt3client.models.tools |
||
| ProjectIcon7 pyt3client.models.tools |
||
| ProjectIcon8 pyt3client.models.tools |
||
| ProjectIcon9 pyt3client.models.tools |
||
| ProjectListInput pyt3client.models.tools |
||
| ProjectListOutput pyt3client.models.tools |
||
| ProjectReadInput pyt3client.models.tools |
||
| ProjectReadOutput pyt3client.models.tools |
||
| ProjectUpdateInput pyt3client.models.tools |
||
| ProjectUpdateOutput pyt3client.models.tools |
||
| Provider pyt3client.models.tools |
||
| ProviderOptionSelection pyt3client.models.tools |
||
| PublishedItem pyt3client.models.tools |
||
| PullRequest pyt3client.models.tools |
||
| PullRequest1 pyt3client.models.tools |
||
| PullRequest3 pyt3client.models.tools |
||
| PullRequestCount pyt3client.models.tools |
||
| QueueInput pyt3client.models.tools |
||
| ReadIssueInput pyt3client.models.tools |
||
| ReadIssueOutput pyt3client.models.tools |
||
| ReadPullRequestGuideInput pyt3client.models.tools |
||
| ReadPullRequestGuideOutput pyt3client.models.tools |
||
| RecentRun pyt3client.models.tools |
||
| Ref pyt3client.models.tools |
||
| Repository pyt3client.models.tools |
||
| RepositoryIdentity pyt3client.models.tools |
||
| RepositoryIdentity1 pyt3client.models.tools |
||
| RepositoryIdentity2 pyt3client.models.tools |
||
| RepositoryIdentity3 pyt3client.models.tools |
||
| RepositoryIdentity4 pyt3client.models.tools |
||
| ResultRun pyt3client.models.tools |
||
| RootModel pyt3client.models.tools |
||
| RootModel pyt3client.models.tools |
||
| RootModel pyt3client.models.tools |
||
| Run pyt3client.models.tools |
||
| Run1 pyt3client.models.tools |
||
| RunScheduledTaskNowInput pyt3client.models.tools |
||
| RunScheduledTaskNowOutput pyt3client.models.tools |
||
| Schedule pyt3client.models.tools |
||
| Schedule1 pyt3client.models.tools |
||
| Schedule2 pyt3client.models.tools |
||
| Schedule3 pyt3client.models.tools Run on each webhook request. |
||
| Schedule4 pyt3client.models.tools Trigger: {type:'interval',everyMs}, {type:'fixed_time',timeOfDay,weekdays?}, {type:'once',runAt}, or {type:'webhook'}. |
||
| Schedule5 pyt3client.models.tools |
||
| Schedule6 pyt3client.models.tools |
||
| Schedule7 pyt3client.models.tools |
||
| Schedule8 pyt3client.models.tools Run on each webhook request. |
||
| ScheduleTaskInput pyt3client.models.tools |
||
| ScheduleTaskOutput pyt3client.models.tools |
||
| Script pyt3client.models.tools |
||
| Script1 pyt3client.models.tools |
||
| Script5 pyt3client.models.tools |
||
| Script6 pyt3client.models.tools |
||
| SetIssueStateInput pyt3client.models.tools |
||
| SetIssueStateOutput pyt3client.models.tools |
||
| Signature pyt3client.models.tools HMAC-SHA256 check on the raw body. |
||
| Signature1 pyt3client.models.tools Omit for URL token only. |
||
| Signature2 pyt3client.models.tools HMAC-SHA256 check on the raw body. |
||
| SizeBytes pyt3client.models.tools |
||
| SizeBytes1 pyt3client.models.tools |
||
| SizeBytes2 pyt3client.models.tools |
||
| SizeBytes3 pyt3client.models.tools |
||
| SizeBytes4 pyt3client.models.tools |
||
| SizeBytes5 pyt3client.models.tools |
||
| Snippet pyt3client.models.tools |
||
| Source pyt3client.models.tools |
||
| SourceControlWritingStyle pyt3client.models.tools |
||
| SourceControlWritingStyle1 pyt3client.models.tools |
||
| SourcePoint pyt3client.models.tools |
||
| Stack pyt3client.models.tools |
||
| State pyt3client.models.tools |
||
| Stop pyt3client.models.tools |
||
| T3Model pyt3client.models._base Snake-case Python fields over T3 Code's camelCase wire names. |
||
| Task pyt3client.models.tools |
||
| Theme pyt3client.models.tools |
||
| Theme1 pyt3client.models.tools |
||
| ThemeReadInput pyt3client.models.tools |
||
| ThemeReadOutput pyt3client.models.tools |
||
| ThemeSetInput pyt3client.models.tools |
||
| ThemeSetOutput pyt3client.models.tools |
||
| Thread pyt3client.models.tools |
||
| Thread1 pyt3client.models.tools |
||
| ThreadConfigureInput pyt3client.models.tools |
||
| ThreadInterruptInput pyt3client.models.tools |
||
| ThreadInterruptOutput pyt3client.models.tools |
||
| ThreadLaunchInput pyt3client.models.tools |
||
| ThreadLaunchOutput pyt3client.models.tools |
||
| ThreadListInput pyt3client.models.tools |
||
| ThreadListOutput pyt3client.models.tools |
||
| ThreadOrganizeInput pyt3client.models.tools |
||
| ThreadReadInput pyt3client.models.tools |
||
| ThreadReadOutput pyt3client.models.tools |
||
| ThreadSearchInput pyt3client.models.tools |
||
| ThreadSearchOutput pyt3client.models.tools |
||
| ThreadSendAttachmentsInput pyt3client.models.tools |
||
| ThreadSendAttachmentsOutput pyt3client.models.tools |
||
| ThreadSendInput pyt3client.models.tools |
||
| ThreadSendOutput pyt3client.models.tools |
||
| ThreadTransferInput pyt3client.models.tools |
||
| ThreadUpdateInput pyt3client.models.tools |
||
| ThreadUpdateOutput pyt3client.models.tools |
||
| ThreadWaitInput pyt3client.models.tools |
||
| ThreadWaitOutput pyt3client.models.tools |
||
| TitleRegeneration pyt3client.models.tools |
||
| ToolSpec pyt3client.tool A T3 Code MCP tool: its wire name plus the models for its arguments and result. |
||
| UnlinkIssueInput pyt3client.models.tools |
||
| UnlinkIssueOutput pyt3client.models.tools |
||
| UnlinkPullRequestInput pyt3client.models.tools |
||
| UnlinkPullRequestOutput pyt3client.models.tools |
||
| UnlinkPullRequestsInput pyt3client.models.tools |
||
| UnlinkPullRequestsOutput pyt3client.models.tools |
||
| UnlinkedItem pyt3client.models.tools |
||
| UnwatchPullRequestInput pyt3client.models.tools |
||
| UnwatchPullRequestOutput pyt3client.models.tools |
||
| Upload pyt3client.models.tools |
||
| Variants pyt3client.models.tools |
||
| Variants1 pyt3client.models.tools |
||
| WatchPullRequestInput pyt3client.models.tools |
||
| WatchPullRequestOutput pyt3client.models.tools |
||
| Weekday pyt3client.models.tools |
||
| WorkflowStopInput pyt3client.models.tools |
||
| WorkspaceStrategy pyt3client.models.tools 'worktree': new checkout from `baseRef`. Honor a requested base. Otherwise, independent work uses the default branch as `remote/branch` (e.g. `origin/main`) with `startFromOrigin: true`; with no remote, use the local default branch. Required unpublished commits and dependent or stacked work use their local base with `startFromOrigin: false`. 'existing_worktree': bind `worktreePath`, a project worktree. 'root': project checkout, the default, not your worktree. Uncommitted edits are not copied. |
||
| WorktreeListInput pyt3client.models.tools |
||
| WorktreeListOutput pyt3client.models.tools |
||
| WritePullRequestGuidesInput pyt3client.models.tools |
||
| WritePullRequestGuidesOutput pyt3client.models.tools |
🛈 DocStrings¶
Pydantic models and a typed registry for T3 Code's MCP tools.
GENERATED by scripts/generate_models.py from schemas/mcp_tools.json - do not edit. Snapshot taken from T3 Code 0.1.11-nightly.20261117.4851.
Upstream sources: apps/server/src/mcp/toolkits/*/tools.ts and packages/contracts/src/orchestratorMcp.ts in https://github.com/pingdotgg/t3code.
ALL_TOOLS
module-attribute
¶
ALL_TOOLS: tuple[ToolSpec[Any, Any], ...] = (
COMMENT_ON_ISSUE,
CREATE_ISSUE,
DELETE_SCHEDULED_TASK,
LINK_ISSUE,
LINK_PULL_REQUEST,
LINK_PULL_REQUESTS,
LIST_ISSUES,
LIST_SCHEDULED_TASKS,
LIST_THREAD_ISSUES,
LIST_THREAD_PULL_REQUESTS,
ORCHESTRATOR_CAPABILITIES,
READ_ISSUE,
READ_PULL_REQUEST_GUIDE,
RUN_SCHEDULED_TASK_NOW,
SCHEDULE_TASK,
SET_ISSUE_STATE,
ATTACHMENT_DISCARD,
ATTACHMENT_PREPARE_UPLOAD,
ENVIRONMENT_PREFERENCES_UPDATE,
ENVIRONMENT_READ,
PENDING_REQUEST,
PROJECT_CLONE,
PROJECT_CREATE,
PROJECT_DELETE,
PROJECT_LIST,
PROJECT_READ,
PROJECT_UPDATE,
QUEUE,
THEME_READ,
THEME_SET,
THREAD_CONFIGURE,
THREAD_INTERRUPT,
THREAD_LAUNCH,
THREAD_LIST,
THREAD_ORGANIZE,
THREAD_READ,
THREAD_SEARCH,
THREAD_SEND,
THREAD_SEND_ATTACHMENTS,
THREAD_TRANSFER,
THREAD_UPDATE,
THREAD_WAIT,
WORKFLOW_STOP,
WORKTREE_LIST,
UNLINK_ISSUE,
UNLINK_PULL_REQUEST,
UNLINK_PULL_REQUESTS,
UNWATCH_PULL_REQUEST,
WATCH_PULL_REQUEST,
WRITE_PULL_REQUEST_GUIDES,
)
Every tool in the snapshot, in name order.
Dedupe
¶
Bases: T3Model
Replay and coalesce key templates. Window in seconds, default 120.
Source code in src/pyt3client/models/tools.py
298 299 300 301 302 303 304 305 306 307 308 | |
Dedupe1
¶
Bases: T3Model
Replay and coalesce key templates. Window in seconds, default 120.
Source code in src/pyt3client/models/tools.py
776 777 778 779 780 781 782 783 | |
Dedupe2
¶
Bases: Dedupe
Replay and coalesce key templates. Window in seconds, default 120.
Source code in src/pyt3client/models/tools.py
892 893 894 895 | |
EnvironmentPreferencesUpdateOutput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 | |
default_thread_env_mode
class-attribute
instance-attribute
¶
default_thread_env_mode: str | None = None
local or worktree (upstream ThreadEnvMode).
Filters
¶
Bases: RootModel[list[Filters1 | Filters2 | Filters3]]
Source code in src/pyt3client/models/tools.py
349 350 351 352 353 | |
Filters1
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
311 312 313 314 315 316 317 318 319 320 321 | |
Filters2
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
324 325 326 327 328 329 330 331 332 333 334 | |
Filters3
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
337 338 339 340 341 342 343 344 345 346 | |
Filters4
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
786 787 788 789 790 791 792 793 | |
Filters5
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
796 797 798 799 800 801 802 803 | |
Filters6
¶
Bases: T3Model
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
806 807 808 809 810 811 812 | |
Filters7
¶
Bases: RootModel[list[Filters71 | Filters72 | Filters73]]
Source code in src/pyt3client/models/tools.py
916 917 918 919 920 | |
Filters71
¶
Bases: Filters1
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
898 899 900 901 | |
Filters72
¶
Bases: Filters2
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
904 905 906 907 | |
Filters73
¶
Bases: Filters3
Path: headers.x-event or body.action. String compare. Objects pass only 'exists'. A [] segment matches any array item. notEquals passes only if no item equals.
Source code in src/pyt3client/models/tools.py
910 911 912 913 | |
Guide1
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 | |
outcome
instance-attribute
¶
outcome: Literal['started', 'running', 'failed']
started: a run began. running: joined a run for this head. failed: see detail.
LinkIssueOutput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
already_linked
instance-attribute
¶
already_linked: bool
True when the issue was linked to this thread before the call.
LinkPullRequestInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
118 119 120 121 122 123 124 125 126 127 | |
number
class-attribute
instance-attribute
¶
number: int | None = Field(default=None, ge=1)
With repository, when no url.
ListIssuesInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
176 177 178 179 180 181 182 183 184 | |
state
class-attribute
instance-attribute
¶
state: Literal['all', 'open', 'closed'] | None = None
Defaults to open.
MaxDeliveryAgeMinutes
¶
Bases: RootModel[int]
Source code in src/pyt3client/models/tools.py
287 288 289 290 291 | |
root
class-attribute
instance-attribute
¶
root: int = Field(ge=1, le=1440)
Skip requests held offline over this many minutes. Omit to run all.
ModelSelection
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
27 28 29 30 31 32 33 34 35 36 37 38 39 | |
Platform
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 | |
machine
class-attribute
instance-attribute
¶
machine: str | None = None
Machine kind such as laptop (upstream EnvironmentMachineKind).
ProjectUpdateInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 | |
archived
class-attribute
instance-attribute
¶
archived: bool | None = None
Threads and files are kept.
PullRequest3
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
2421 2422 2423 2424 2425 2426 2427 2428 | |
number
class-attribute
instance-attribute
¶
number: int | None = Field(default=None, ge=1)
With repository, when no url.
ReadPullRequestGuideInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
630 631 632 633 634 635 636 637 638 | |
number
class-attribute
instance-attribute
¶
number: int | None = Field(default=None, ge=1)
With repository, when no url.
ReadPullRequestGuideOutput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 | |
Schedule3
¶
Bases: T3Model
Run on each webhook request.
Source code in src/pyt3client/models/tools.py
356 357 358 359 360 361 362 363 364 365 366 367 368 | |
Schedule4
¶
Bases: T3Model
Trigger: {type:'interval',everyMs}, {type:'fixed_time',timeOfDay,weekdays?}, {type:'once',runAt}, or {type:'webhook'}.
Source code in src/pyt3client/models/tools.py
815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 | |
dedupe
class-attribute
instance-attribute
¶
dedupe: Dedupe1 | None = None
Replay and coalesce key templates. Window in seconds, default 120.
every_ms
class-attribute
instance-attribute
¶
every_ms: int | None = Field(default=None, ge=60000)
Min 60000.
filters
class-attribute
instance-attribute
¶
All must match. Max 16. Omitted: keep stored. [] clears.
max_delivery_age_minutes
class-attribute
instance-attribute
¶
max_delivery_age_minutes: int | None = Field(default=None, ge=1, le=1440)
Skip requests held offline over this many minutes. Omit to run all.
signature
class-attribute
instance-attribute
¶
signature: Signature1 | None = None
Omit for URL token only.
Schedule8
¶
Bases: T3Model
Run on each webhook request.
Source code in src/pyt3client/models/tools.py
923 924 925 926 927 928 929 930 931 932 933 934 935 | |
ScheduleTaskInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 | |
bind_to_current_thread
class-attribute
instance-attribute
¶
bind_to_current_thread: bool | None = None
Post here, else new thread per run. Unset: true in own project, else false; updates keep it.
fresh_session
class-attribute
instance-attribute
¶
fresh_session: bool | None = None
Runs share one thread but each starts a fresh session. Unbound: the first run makes the thread.
ScheduleTaskOutput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 | |
blocked_by_policy
class-attribute
instance-attribute
¶
blocked_by_policy: str | None = None
Present when an administrator's policy stops this task from running.
webhook_url
class-attribute
instance-attribute
¶
webhook_url: str | None = None
Webhook bearer URL, returned only on task creation to callers allowed to run it. Lists and updates omit it; the user can copy it from Settings. Creation may omit it without T3 Connect remote access or run permission.
Signature
¶
Bases: T3Model
HMAC-SHA256 check on the raw body.
Source code in src/pyt3client/models/tools.py
271 272 273 274 275 276 277 278 279 280 281 282 283 284 | |
Signature1
¶
Bases: T3Model
Omit for URL token only.
Source code in src/pyt3client/models/tools.py
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 | |
secret_ref
class-attribute
instance-attribute
¶
secret_ref: str | None = None
From request_secret. Instead of secret. Spent by this save.
Signature2
¶
Bases: Signature
HMAC-SHA256 check on the raw body.
Source code in src/pyt3client/models/tools.py
886 887 888 889 | |
Task
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 | |
blocked_by_policy
class-attribute
instance-attribute
¶
blocked_by_policy: str | None = None
Present when an administrator's policy stops this task from running.
webhook_url
class-attribute
instance-attribute
¶
webhook_url: str | None = None
Webhook bearer URL, returned only on task creation to callers allowed to run it. Lists and updates omit it; the user can copy it from Settings. Creation may omit it without T3 Connect remote access or run permission.
ThemeReadInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1551 1552 1553 1554 1555 | |
theme_id
class-attribute
instance-attribute
¶
theme_id: str | None = None
Also return this published theme's file.
ThreadLaunchInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 | |
message
class-attribute
instance-attribute
¶
message: str | None = Field(default=None, max_length=120000)
First prompt. Omit it and attachments for idle.
scratch
class-attribute
instance-attribute
¶
scratch: bool | None = None
No project: a new Scratch folder. Not with projectId or workspaceStrategy.
workspace_strategy
class-attribute
instance-attribute
¶
workspace_strategy: WorkspaceStrategy | None = None
'worktree': new checkout from baseRef. Honor a requested base. Otherwise, independent work uses the default branch as remote/branch (e.g. origin/main) with startFromOrigin: true; with no remote, use the local default branch. Required unpublished commits and dependent or stacked work use their local base with startFromOrigin: false. 'existing_worktree': bind worktreePath, a project worktree. 'root': project checkout, the default, not your worktree. Uncommitted edits are not copied.
ThreadReadInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 | |
ThreadSendInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 | |
fresh_context
class-attribute
instance-attribute
¶
fresh_context: bool | None = None
Start a new provider session without the thread's earlier context, like /clear. Never steers.
ThreadWaitInput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
2243 2244 2245 2246 2247 2248 2249 2250 2251 | |
until_delegated_work_settled
class-attribute
instance-attribute
¶
until_delegated_work_settled: bool | None = None
Also wait for its delegated and background tasks and their completions to settle. resultRun then names the run with its final answer.
UnlinkIssueOutput
¶
Bases: T3Model
Source code in src/pyt3client/models/tools.py
2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 | |
was_linked
instance-attribute
¶
was_linked: bool
False when the issue was not linked to this thread to begin with.
Weekday
¶
Bases: RootModel[int]
Source code in src/pyt3client/models/tools.py
247 248 249 250 251 | |
root
class-attribute
instance-attribute
¶
root: int = Field(ge=0, le=6)
Weekday. 0 is Sunday, 6 is Saturday.
WorkspaceStrategy
¶
Bases: T3Model
'worktree': new checkout from baseRef. Honor a requested base. Otherwise, independent work uses the default branch as remote/branch (e.g. origin/main) with startFromOrigin: true; with no remote, use the local default branch. Required unpublished commits and dependent or stacked work use their local base with startFromOrigin: false. 'existing_worktree': bind worktreePath, a project worktree. 'root': project checkout, the default, not your worktree. Uncommitted edits are not copied.
Source code in src/pyt3client/models/tools.py
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 | |