The whole hunk
from line 1, old and new numbered
/
lines
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 1
1---
2title: Apps
3url: https://platform.claude.com/docs/en/api/compliance/apps
4---
5
16# Apps
27
38## Apps › Chats
from line 118
113118
114119#### Headers
115120
121- `"anthropic-version": optional string`
122
123 The version of the Claude API you want to use.
124
125 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
126
116127- `"x-api-key": optional string`
117128
118129#### Returns
from line 176
165176
166177 - `user: object or null`
167178
168 User information for compliance responses.
179 The user who created the chat.
180
181 Null when the API key is restricted to one organization and the creator
182 is no longer a member of it (for example, after they were removed from
183 it).
184
185 A key for the whole parent organization returns the creator's `id`
186 and current `email_address` for every chat; on the list endpoint, pass
187 `organization_ids[]` to keep the results to one organization. For the
188 email address the creator had when the chat was created, query
189 `GET /v1/compliance/activities` with `activity_types[]=claude_chat_created`
190 and a `created_at` window around the chat's `created_at`, find the event
191 whose `claude_chat_id` matches this chat's `id`, and read
192 `actor.email_address`. These events exist only for chats created after
193 compliance logging was enabled for the organization.
169194
170195 - `id: string`
171196
from line 267
242267
243268#### Headers
244269
270- `"anthropic-version": optional string`
271
272 The version of the Claude API you want to use.
273
274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
275
245276- `"x-api-key": optional string`
246277
247278#### Returns
248279
280- `type: optional "claude_chat_deleted"`
281
282 Constant string confirming deletion
283
284 default: claude_chat_deleted
285
249286- `id: string`
250287
251288 The ID of the Claude chat that was deleted
252
253- `type: optional "claude_chat_deleted"`
254
255 Constant string confirming deletion
256
257 default: claude_chat_deleted
258289
259290#### Example
260291
from line 410
379410
380411#### Headers
381412
413- `"anthropic-version": optional string`
414
415 The version of the Claude API you want to use.
416
417 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
418
382419- `"x-api-key": optional string`
383420
384421#### Returns
from line 460
423460
424461 Text content block.
425462
463 - `type: "text"`
464
465 default: text
466
426467 - `text: string`
427468
428469 Text content from human or assistant
from line 480
439480
440481 default: false
441482
442 - `type: "text"`
443
444 default: text
445
446483 - `ToolUse object`
447484
448485 Tool invocation requested by the assistant.
449486
487 - `type: "tool_use"`
488
489 default: tool_use
490
450491 - `id: string or null`
451492
452493 Tool-use ID, e.g. 'toolu_01AbC...'
from line 514
473514
474515 default: false
475516
476 - `type: "tool_use"`
477
478 default: tool_use
479
480517 - `ToolResult object`
481518
482519 Result returned by a tool invocation.
483520
521 - `type: "tool_result"`
522
523 default: tool_result
524
484525 - `content: array of object`
485526
486527 Text content returned by the tool. Generated files are surfaced via the message's `generated_files` list; other non-text item types (including images and links) are omitted.
487528
529 - `type: "text"`
530
531 default: text
532
488533 - `text: string`
489534
490535 Text returned by the tool
491536
492 - `type: "text"`
493
494 default: text
495
496537 - `integration_name: string or null`
497538
498539 Name of the integration that provides this tool, when applicable
from line 560
519560
520561 default: false
521562
522 - `type: "tool_result"`
523
524 default: tool_result
525
526563 - `created_at: string`
527564
528565 Message creation timestamp - For human: when they sent the message, For assistant: when it completed the last content block
from line 682
645682
646683- `user: object or null`
647684
648 User information for compliance responses.
685 The user who created the chat.
686
687 Null when the API key is restricted to one organization and the creator
688 is no longer a member of it (for example, after they were removed from
689 it).
690
691 A key for the whole parent organization returns the creator's `id`
692 and current `email_address` for every chat; on the list endpoint, pass
693 `organization_ids[]` to keep the results to one organization. For the
694 email address the creator had when the chat was created, query
695 `GET /v1/compliance/activities` with `activity_types[]=claude_chat_created`
696 and a `created_at` window around the chat's `created_at`, find the event
697 whose `claude_chat_id` matches this chat's `id`, and read
698 `actor.email_address`. These events exist only for chats created after
699 compliance logging was enabled for the organization.
649700
650701 - `id: string`
651702
from line 802
751802
752803#### Headers
753804
805- `"anthropic-version": optional string`
806
807 The version of the Claude API you want to use.
808
809 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
810
754811- `"x-api-key": optional string`
755812
756813#### Returns
from line 887
830887
831888#### Headers
832889
890- `"anthropic-version": optional string`
891
892 The version of the Claude API you want to use.
893
894 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
895
833896- `"x-api-key": optional string`
834897
835898#### Returns
836899
900- `type: optional "claude_file_deleted"`
901
902 Constant string confirming deletion
903
904 default: claude_file_deleted
905
837906- `id: string`
838907
839908 The ID of the file that was deleted
840
841- `type: optional "claude_file_deleted"`
842
843 Constant string confirming deletion
844
845 default: claude_file_deleted
846909
847910#### Example
848911
from line 938
875938
876939#### Headers
877940
941- `"anthropic-version": optional string`
942
943 The version of the Claude API you want to use.
944
945 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
946
878947- `"x-api-key": optional string`
879948
880949#### Example
from line 970
901970 The generated-file id (e.g., 'claude_gen_file_abc123') as returned in `chat_messages[].generated_files[].id` from GET /apps/chats/{claude_chat_id}/messages.
902971
903972#### Headers
973
974- `"anthropic-version": optional string`
975
976 The version of the Claude API you want to use.
977
978 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
904979
905980- `"x-api-key": optional string`
906981
from line 1046
9711046
9721047#### Headers
9731048
1049- `"anthropic-version": optional string`
1050
1051 The version of the Claude API you want to use.
1052
1053 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1054
9741055- `"x-api-key": optional string`
9751056
9761057#### Example
from line 1143
10621143 Filter by user IDs. Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.
10631144
10641145#### Headers
1146
1147- `"anthropic-version": optional string`
1148
1149 The version of the Claude API you want to use.
1150
1151 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
10651152
10661153- `"x-api-key": optional string`
10671154
from line 1267
11801267
11811268#### Headers
11821269
1270- `"anthropic-version": optional string`
1271
1272 The version of the Claude API you want to use.
1273
1274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1275
11831276- `"x-api-key": optional string`
11841277
11851278#### Returns
from line 1402
13091402
13101403#### Headers
13111404
1405- `"anthropic-version": optional string`
1406
1407 The version of the Claude API you want to use.
1408
1409 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1410
13121411- `"x-api-key": optional string`
13131412
13141413#### Returns
13151414
1415- `type: optional "claude_project_deleted"`
1416
1417 Constant string confirming deletion.
1418
1419 default: claude_project_deleted
1420
13161421- `id: string`
13171422
13181423 The ID of the Claude project that was deleted
1319
1320- `type: optional "claude_project_deleted"`
1321
1322 Constant string confirming deletion.
1323
1324 default: claude_project_deleted
13251424
13261425#### Example
13271426
from line 1476
13771476
13781477#### Headers
13791478
1479- `"anthropic-version": optional string`
1480
1481 The version of the Claude API you want to use.
1482
1483 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1484
13801485- `"x-api-key": optional string`
13811486
13821487#### Returns
from line 1494
13891494
13901495 File attachment reference for compliance responses.
13911496
1497 - `type: "project_file"`
1498
1499 Discriminator marking this as a binary file
1500
1501 default: project_file
1502
13921503 - `id: string`
13931504
13941505 File identifier (e.g., 'claude_file_abcd')
from line 1526
14151526
14161527 Size in bytes of the file's preferred downloadable variant, when recorded. Null otherwise. Use the per-file `/metadata` endpoint for the authoritative value.
14171528
1418 - `type: "project_file"`
1419
1420 Discriminator marking this as a binary file
1421
1422 default: project_file
1423
14241529 - `ComplianceProjectDocReference object`
14251530
14261531 Project document attachment reference for compliance responses.
14271532
1533 - `type: "project_doc"`
1534
1535 Discriminator marking this as a plain text document
1536
1537 default: project_doc
1538
14281539 - `id: string`
14291540
14301541 Project document identifier (e.g., 'claude_proj_doc_abcd')
from line 1555
14441555 MIME type of the project document, always set to plain text
14451556
14461557 default: text/plain
1447
1448 - `type: "project_doc"`
1449
1450 Discriminator marking this as a plain text document
1451
1452 default: project_doc
14531558
14541559 - `updated_at: string or null`
14551560
from line 1630
15251630
15261631#### Headers
15271632
1633- `"anthropic-version": optional string`
1634
1635 The version of the Claude API you want to use.
1636
1637 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1638
15281639- `"x-api-key": optional string`
15291640
15301641#### Returns
from line 1648
15371648
15381649 An individual user granted a role on a project.
15391650
1651 - `type: "user"`
1652
1653 Discriminator marking this as an individual user collaborator
1654
1655 default: user
1656
15401657 - `granted_at: string`
15411658
15421659 When this collaborator was granted access (RFC 3339 format)
from line 1672
15551672
15561673 - `"viewer"`
15571674
1558 - `type: "user"`
1559
1560 Discriminator marking this as an individual user collaborator
1561
1562 default: user
1563
15641675 - `user_id: string or null`
15651676
15661677 Identifier of the user granted access (tagged ID), or null if their account has since been deleted
from line 1680
15691680
15701681 An RBAC group granted a role on a project.
15711682
1683 - `type: "group"`
1684
1685 Discriminator marking this as a group collaborator
1686
1687 default: group
1688
15721689 - `granted_at: string`
15731690
15741691 When this collaborator was granted access (RFC 3339 format)
from line 1708
15911708
15921709 - `"viewer"`
15931710
1594 - `type: "group"`
1595
1596 Discriminator marking this as a group collaborator
1597
1598 default: group
1599
16001711 - `ComplianceProjectOrganizationCollaborator object`
16011712
16021713 An entire organization granted a role on a project.
16031714
1715 - `type: "organization"`
1716
1717 Discriminator marking this as an organization-wide grant
1718
1719 default: organization
1720
16041721 - `granted_at: string`
16051722
16061723 When this collaborator was granted access (RFC 3339 format)
from line 1740
16231740
16241741 - `"viewer"`
16251742
1626 - `type: "organization"`
1627
1628 Discriminator marking this as an organization-wide grant
1629
1630 default: organization
1631
16321743 - `ComplianceProjectOrganizationRoleCollaborator object`
16331744
16341745 All holders of an organization-level role granted a role on a project.
16351746
1747 - `type: "organization_role"`
1748
1749 Discriminator marking this as a grant to all organization members holding a specific org-level role
1750
1751 default: organization_role
1752
16361753 - `granted_at: string`
16371754
16381755 When this collaborator was granted access (RFC 3339 format)
from line 1771
16541771 - `"owner"`
16551772
16561773 - `"viewer"`
1657
1658 - `type: "organization_role"`
1659
1660 Discriminator marking this as a grant to all organization members holding a specific org-level role
1661
1662 default: organization_role
16631774
16641775- `has_more: boolean`
16651776
from line 1820
17091820
17101821#### Headers
17111822
1823- `"anthropic-version": optional string`
1824
1825 The version of the Claude API you want to use.
1826
1827 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
1828
17121829- `"x-api-key": optional string`
17131830
17141831#### Returns
from line 1904
17871904 The document ID (tagged ID, e.g., claude_proj_doc_abc123)
17881905
17891906#### Headers
1907
1908- `"anthropic-version": optional string`
1909
1910 The version of the Claude API you want to use.
1911
1912 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
17901913
17911914- `"x-api-key": optional string`
17921915
from line 2004
18812004
18822005#### Headers
18832006
2007- `"anthropic-version": optional string`
2008
2009 The version of the Claude API you want to use.
2010
2011 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2012
18842013- `"x-api-key": optional string`
18852014
18862015#### Returns
18872016
2017- `type: "claude_project_document_deleted"`
2018
2019 Constant string confirming deletion.
2020
2021 default: claude_project_document_deleted
2022
18882023- `id: string`
18892024
18902025 The ID of the project document that was deleted
1891
1892- `type: "claude_project_document_deleted"`
1893
1894 Constant string confirming deletion.
1895
1896 default: claude_project_document_deleted
18972026
18982027#### Example
18992028
from line 2061
19322061 The artifact version ID (tagged ID, e.g., claude_artifact_version_abc123)
19332062
19342063#### Headers
2064
2065- `"anthropic-version": optional string`
2066
2067 The version of the Claude API you want to use.
2068
2069 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
19352070
19362071- `"x-api-key": optional string`
19372072
from line 2144
20092144
20102145#### Headers
20112146
2147- `"anthropic-version": optional string`
2148
2149 The version of the Claude API you want to use.
2150
2151 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2152
20122153- `"x-api-key": optional string`
20132154
20142155#### Example
from line 2206
20652206
20662207#### Headers
20672208
2209- `"anthropic-version": optional string`
2210
2211 The version of the Claude API you want to use.
2212
2213 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2214
20682215- `"x-api-key": optional string`
20692216
20702217#### Returns
from line 2220
20732220
20742221 Page of local sessions, ordered by `created_at` descending; ties are broken by a fixed server-side order. `updated_at` never participates in the ordering; the `updated_at.gte` query parameter filters on it without changing the order or the pagination cursor.
20752222
2223 - `type: "compliance_local_session"`
2224
2225 default: compliance_local_session
2226
20762227 - `id: string`
20772228
20782229 Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice.
from line 2242
20912242
20922243 The product the session ran in: `cowork` (Cowork in Claude Desktop on the user's machine), `claude_code` (Claude Code), `claude_science` (Claude Science), or one of `office_agents/excel`, `office_agents/powerpoint`, `office_agents/word`, and `office_agents/outlook` (Claude for Microsoft 365, by app; `office_agents` alone when the app is not identified). New values appear as coverage expands; treat unrecognized values as opaque. `null` when the surface was not recorded.
20932244
2094 - `type: "compliance_local_session"`
2095
2096 default: compliance_local_session
2245 - `truncated: boolean`
2246
2247 True when the session has more inference calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at` is a lower bound on the latest call and can differ between the list and retrieve endpoints. False for every session within that bound.
2248
2249 default: false
20972250
20982251 - `updated_at: string`
20992252
from line 2320
21672320
21682321#### Headers
21692322
2323- `"anthropic-version": optional string`
2324
2325 The version of the Claude API you want to use.
2326
2327 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2328
21702329- `"x-api-key": optional string`
21712330
21722331#### Returns
21732332
2333- `type: "compliance_local_session"`
2334
2335 default: compliance_local_session
2336
21742337- `id: string`
21752338
21762339 Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice.
from line 2352
21892352
21902353 The product the session ran in: `cowork` (Cowork in Claude Desktop on the user's machine), `claude_code` (Claude Code), `claude_science` (Claude Science), or one of `office_agents/excel`, `office_agents/powerpoint`, `office_agents/word`, and `office_agents/outlook` (Claude for Microsoft 365, by app; `office_agents` alone when the app is not identified). New values appear as coverage expands; treat unrecognized values as opaque. `null` when the surface was not recorded.
21912354
2192- `type: "compliance_local_session"`
2193
2194 default: compliance_local_session
2355- `truncated: boolean`
2356
2357 True when the session has more inference calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at` is a lower bound on the latest call and can differ between the list and retrieve endpoints. False for every session within that bound.
2358
2359 default: false
21952360
21962361- `updated_at: string`
21972362
from line 2461
22962461
22972462#### Headers
22982463
2464- `"anthropic-version": optional string`
2465
2466 The version of the Claude API you want to use.
2467
2468 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2469
22992470- `"x-api-key": optional string`
23002471
23012472#### Returns
from line 2475
23042475
23052476 Transcript turns for this page, in call order: oldest call first by default, newest call first with `order=desc`. The messages of one call carry the call's timestamp and follow each other in transcript order; a page boundary can fall between them.
23062477
2478 - `type: "compliance_local_session_message"`
2479
2480 default: compliance_local_session_message
2481
23072482 - `id: string`
23082483
23092484 Message identifier, prefixed `clsm_`. Stable for as long as the message's turn is retained: identifiers of retained turns do not change as older turns age out of the organization's retention period. The `retention_elapsed` placeholder's identifier is distinct from every retained turn's and changes only when further turns age out.
from line 2491
23162491
23172492 Text content block.
23182493
2494 - `type: "text"`
2495
2496 default: text
2497
23192498 - `text: string`
23202499
23212500 Text content from the user or the assistant
from line 2505
23262505
23272506 default: false
23282507
2329 - `type: "text"`
2330
2331 default: text
2332
23332508 - `ToolUse object`
23342509
23352510 Tool invocation requested by the assistant.
23362511
2512 - `type: "tool_use"`
2513
2514 default: tool_use
2515
23372516 - `id: string or null`
23382517
23392518 Tool-use ID, e.g. 'toolu_01AbC...'
from line 2531
23522531
23532532 default: false
23542533
2355 - `type: "tool_use"`
2356
2357 default: tool_use
2358
23592534 - `ToolResult object`
23602535
23612536 Result returned by a tool invocation.
23622537
2538 - `type: "tool_result"`
2539
2540 default: tool_result
2541
23632542 - `content: array of object`
23642543
23652544 Text content returned by the tool. Non-text item types are omitted and signalled via `truncated` with an in-band item-count marker.
23662545
2546 - `type: "text"`
2547
2548 default: text
2549
23672550 - `text: string`
23682551
23692552 Text returned by the tool
23702553
2371 - `type: "text"`
2372
2373 default: text
2374
23752554 - `is_error: boolean`
23762555
23772556 True when the tool reported an error
from line 2569
23902569
23912570 default: false
23922571
2393 - `type: "tool_result"`
2394
2395 default: tool_result
2396
23972572 - `created_at: string`
23982573
23992574 When the message was recorded (RFC 3339, UTC)
from line 2587
24122587
24132588 The turn's content cannot be returned; `content` is empty.
24142589
2590 - `type: "content_unavailable"`
2591
2592 default: content_unavailable
2593
24152594 - `reason: string`
24162595
24172596 Why this turn's content cannot be returned, e.g. `not_captured` (the content was not captured for compliance retrieval), `client_aborted` (the client closed the connection or cancelled the request before the response completed, so the response was not captured for this turn; any partial output already streamed to the client is not included; assistant-role turns only), `cmek_key_revoked` (the content is encrypted under the organization's customer-managed key and that key is unavailable), `retention_elapsed` (the content lies past the organization's retention boundary; on the placeholder standing in for every pre-boundary turn), or `oversize` (the message exceeds the server's per-message size bound even after per-block truncation). Callers should tolerate unrecognized values. `not_captured` is not proof that no record was stored: content withheld by the storage layer's fail-closed access policies carries the same reason and is deliberately indistinguishable from content that was never captured.
2418
2419 - `type: "content_unavailable"`
2420
2421 default: content_unavailable
24222597
24232598 - `ClientAsserted object`
24242599
from line 2631
24562631
24572632 - `"user"`
24582633
2459 - `type: "compliance_local_session_message"`
2460
2461 default: compliance_local_session_message
2462
24632634- `next_page: string or null`
24642635
24652636 Opaque pagination cursor (prefixed `page_`) for the next page. Null when there is no further page. Treat as an opaque string; the format may change without notice.
from line 2639
24682639
24692640 The local session the messages belong to. `user.email_address` is always null on this endpoint; the messages endpoint does not resolve email addresses.
24702641
2642 - `type: "compliance_local_session"`
2643
2644 default: compliance_local_session
2645
24712646 - `id: string`
24722647
24732648 Local session identifier, prefixed `clls_`. Unique within the parent organization. Treat as an opaque string; the format may change without notice.
from line 2661
24862661
24872662 The product the session ran in: `cowork` (Cowork in Claude Desktop on the user's machine), `claude_code` (Claude Code), `claude_science` (Claude Science), or one of `office_agents/excel`, `office_agents/powerpoint`, `office_agents/word`, and `office_agents/outlook` (Claude for Microsoft 365, by app; `office_agents` alone when the app is not identified). New values appear as coverage expands; treat unrecognized values as opaque. `null` when the surface was not recorded.
24882663
2489 - `type: "compliance_local_session"`
2490
2491 default: compliance_local_session
2664 - `truncated: boolean`
2665
2666 True when the session has more inference calls than the service can return for one session (100,000). The messages endpoint then returns only the session's earliest calls, up to that many, and ends before the session does; `updated_at` is a lower bound on the latest call and can differ between the list and retrieve endpoints. False for every session within that bound.
2667
2668 default: false
24922669
24932670 - `updated_at: string`
24942671
from line 2726
25492726 "created_at": "2025-03-12T18:22:41.123456Z",
25502727 "organization_uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
25512728 "product_surface": "cowork",
2729 "truncated": true,
25522730 "type": "compliance_local_session",
25532731 "updated_at": "2025-03-12T18:22:41.123456Z",
25542732 "user": {
from line 2813
26352813 maxItems: 10
26362814
26372815#### Headers
2816
2817- `"anthropic-version": optional string`
2818
2819 The version of the Claude API you want to use.
2820
2821 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
26382822
26392823- `"x-api-key": optional string`
26402824
from line 2989
28052989
28062990#### Headers
28072991
2992- `"anthropic-version": optional string`
2993
2994 The version of the Claude API you want to use.
2995
2996 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
2997
28082998- `"x-api-key": optional string`
28092999
28103000#### Returns
from line 3015
28253015
28263016 Text content block.
28273017
3018 - `type: "text"`
3019
3020 default: text
3021
28283022 - `text: string`
28293023
28303024 Text content from the user or the assistant
from line 3029
28353029
28363030 default: false
28373031
2838 - `type: "text"`
2839
2840 default: text
2841
28423032 - `ToolUse object`
28433033
28443034 Tool invocation requested by the assistant.
28453035
3036 - `type: "tool_use"`
3037
3038 default: tool_use
3039
28463040 - `id: string or null`
28473041
28483042 Tool-use ID, e.g. 'toolu_01AbC...'
from line 3055
28613055
28623056 default: false
28633057
2864 - `type: "tool_use"`
2865
2866 default: tool_use
2867
28683058 - `ToolResult object`
28693059
28703060 Result returned by a tool invocation.
28713061
3062 - `type: "tool_result"`
3063
3064 default: tool_result
3065
28723066 - `content: array of object`
28733067
28743068 Text content returned by the tool. Non-text item types are omitted.
28753069
3070 - `type: "text"`
3071
3072 default: text
3073
28763074 - `text: string`
28773075
28783076 Text returned by the tool
28793077
2880 - `type: "text"`
2881
2882 default: text
2883
28843078 - `is_error: boolean`
28853079
28863080 True when the tool reported an error
from line 3092
28983092 True when one or more text items in `content` were shortened. Pass `tool_result_max_bytes=-1` to request full content, subject to the server-side maximum.
28993093
29003094 default: false
2901
2902 - `type: "tool_result"`
2903
2904 default: tool_result
29053095
29063096 - `content_unavailable: boolean`
29073097
29083098