Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

91563[FEATURE] Introduce Action API

Benjamin Franzke CR 0 V 0 Nightmare +3959 −143 updated 11/06/26, 10:43

Commit message

The Action API is a typed RPC mechanism providing interaction
points for remote systems such as backend JavaScript,
a HTTP API or AI agents.

Service methods tagged with the new #[AsAction] attribute become
actions. The JSON Schema of their parameters and return value is
derived from the method signature (including PHPDoc types) at
container compile time and used to validate and hydrate input
and to validate the result.

Access is restricted via scopes (content:read, content:write,
extensible via ScopeInterface). In the backend, actions are
exposed as JSON endpoints below /typo3/api/, authenticated with
a user-bound bearer token, and can be called via the JavaScript
module @typo3/core/action/request.

An additional app hub will expose the same API via /typo3/api/
for external clients in future changes.

The JSON Schema descriptions are the foundation for exposing
actions via OpenAPI 3.1 and MCP in follow-up changes.

  composer require justinrainbow/json-schema:^6.8
  composer require -d typo3/sysext/core --no-update \
    justinrainbow/json-schema:^6.8

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 62
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/63/91563/62 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/63/91563/62 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 19

  1. main 92721[WIP][BUGFIX] Fix referrer for login redirect Based on this change Abandoned Benjamin Franzke CR 0 V -1 → 14.3 Easy +22 −11
  2. main 88507[WIP][FEATURE] AI suggest demo using tools API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Expert +1777 −2
  3. main 93527[BUGFIX] Avoid invalidly showing login form when opening a shared link Based on this change Merged Benjamin Franzke CR +2 V +2 → 14.3 Normal +116 −27

    The chain has patch set 3 of 9, the changes above it need a rebase.

  4. main 95448[TASK] Add missing PATCH HTTP verb @typo3/core/ajax/ajax-request.js Based on this change Merged Benjamin Franzke CR +2 V +2 → 14.3 Easy +20 −2

    The chain has patch set 1 of 3, the changes above it need a rebase.

  5. main 92724[WIP][FEATURE] Implement OAuth authorization server Based on this change Abandoned Benjamin Franzke CR 0 V 0 Nightmare +2715 −128
  6. main 92323[TASK] Avoid `json_encode()` workarounds in Settings API Based on this change Merged Benjamin Franzke CR +2 V +2 Easy +27 −21

    The chain has patch set 8 of 10, the changes above it need a rebase.

  7. main 92224[WIP][FEATURE] Implement MCP Server based on Actions API Based on this change Work in progress Benjamin Franzke CR 0 V -1 Expert +1613 −0
  8. main 92322[WIP][TASK] Migrate Dashboard to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Expert +807 −687
  9. main 97327[WIP][TASK] Migrate file storage tree to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Normal +145 −81
  10. main 92191[WIP][TASK] Migrate PageTree to Action API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Hard +279 −203
  11. main 93599[WIP][TASK] Migrate resource endpoints to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +3068 −839
  12. main 92223[TASK] Provide AI tool provider based on Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Hard +271 −0
  13. main 92197[WIP][FEATURE] Provide Record Actions Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +5227 −53
  14. main 92196[WIP][TASK] Add Record DTO, Schema and Serializer Based on this change Work in progress Benjamin Franzke CR 0 V 0 Expert +1583 −0
  15. main 91486[FEATURE] Implement API Hub Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +5905 −1
  16. main 93423[FEATURE] Implement standalone redirect route option Based on this change Work in progress Benjamin Franzke CR 0 V 0 Normal +62 −2
  17. main 91666[TASK] Provide OpenAPI spec w/ Swagger UI for Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Expert +1379 −3
  18. 91563 [FEATURE] Introduce Action API This change

  19. main 93064[FEATURE] Introduce JSON SchemaBuilder and Schema based Hydrator This change is based on it Work in progress Benjamin Franzke CR 0 V 0 Nightmare +2525 −0

Issues 1

Files 53

Show 33 more files

Review log 65128

Show 52103 earlier messages
  1. Benjamin Franzke uploaded patch set 1 11/11/25, 17:18

  2. core-ci voted on patch set 1 V +1 11/11/25, 17:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89041

  3. Benjamin Franzke wrote 11/12/25, 16:43

    Set private
  4. Benjamin Franzke uploaded patch set 2 V +1 11/13/25, 09:53

  5. core-ci voted on patch set 2 V -1 11/13/25, 10:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89453

  6. Benjamin Franzke uploaded patch set 3 V -1 11/14/25, 11:47

  7. core-ci voted on patch set 3 V +1 11/14/25, 11:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89681

  8. Benjamin Franzke uploaded patch set 4 V +1 12/20/25, 15:54

  9. core-ci voted on patch set 4 V -1 12/20/25, 16:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92517

  10. Benjamin Franzke uploaded patch set 5 V -1 12/20/25, 16:13

  11. core-ci voted on patch set 5 V -1 12/20/25, 16:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92520

  12. Benjamin Franzke uploaded patch set 6 V -1 12/20/25, 16:24

  13. core-ci voted on patch set 6 V -1 12/20/25, 16:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92521

  14. core-ci voted on patch set 6 V +1 12/20/25, 16:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92521

  15. Benjamin Franzke uploaded patch set 7 V +1 12/20/25, 16:43

  16. core-ci voted on patch set 7 V -1 12/20/25, 16:52 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92523

  17. Benjamin Franzke uploaded patch set 8 V -1 12/20/25, 16:53

  18. core-ci voted on patch set 8 V +1 12/20/25, 17:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92525

  19. Benjamin Franzke uploaded patch set 9 V +1 12/24/25, 12:34

  20. Benjamin Franzke uploaded patch set 10 12/24/25, 12:42

  21. core-ci voted on patch set 10 V +1 12/24/25, 12:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92655

  22. Benjamin Franzke uploaded patch set 11 V +1 12/26/25, 09:24

  23. core-ci voted on patch set 11 V +1 12/26/25, 09:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92709

  24. Benjamin Franzke uploaded patch set 12 V +1 01/05/26, 07:36

  25. core-ci voted on patch set 12 V +1 01/05/26, 07:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92958

  26. Benjamin Franzke uploaded patch set 13 V +1 01/05/26, 08:08

  27. core-ci voted on patch set 13 V +1 01/05/26, 08:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92966

  28. Benjamin Franzke uploaded patch set 14 V +1 01/08/26, 07:56

  29. core-ci voted on patch set 14 V -1 01/08/26, 08:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93096

  30. Benjamin Franzke uploaded patch set 15 V -1 01/08/26, 09:02

  31. core-ci voted on patch set 15 V +1 01/08/26, 09:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93098

  32. Benjamin Franzke uploaded patch set 16 V +1 01/10/26, 00:01

  33. core-ci voted on patch set 16 V +1 01/10/26, 00:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93168

  34. Benjamin Franzke uploaded patch set 17 V +1 01/13/26, 15:04

  35. core-ci voted on patch set 17 V -1 01/13/26, 15:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93378

  36. Benjamin Franzke uploaded patch set 18 V -1 01/13/26, 15:36

  37. core-ci voted on patch set 18 V -1 01/13/26, 15:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93379

  38. Benjamin Franzke uploaded patch set 19 V -1 01/13/26, 15:46

  39. core-ci voted on patch set 19 V -1 01/13/26, 15:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93382

  40. Benjamin Franzke uploaded patch set 20 V -1 01/13/26, 16:21

  41. core-ci voted on patch set 20 V +1 01/13/26, 16:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93390

  42. Benjamin Franzke uploaded patch set 21 01/13/26, 20:23

    Copied Votes: * Verified+1 (copy condition: "**changekind:NO_CHANGE**")
  43. core-ci voted on patch set 21 V -1 01/13/26, 20:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93402

  44. core-ci voted on patch set 21 V +1 01/13/26, 20:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93402

  45. Benjamin Franzke uploaded patch set 22 V +1 01/27/26, 10:00

  46. core-ci voted on patch set 22 V -1 01/27/26, 10:19 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94405

  47. Benjamin Franzke uploaded patch set 23 V -1 01/27/26, 10:20

  48. core-ci voted on patch set 23 V +1 01/27/26, 10:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/94418

  49. Benjamin Franzke uploaded patch set 24 V +1 02/06/26, 15:25

  50. Benjamin Franzke uploaded patch set 25 02/28/26, 10:24

  51. core-ci voted on patch set 25 V -1 02/28/26, 11:52 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97021

  52. Benjamin Franzke uploaded patch set 26 V -1 02/28/26, 17:27

  53. core-ci voted on patch set 26 V +1 02/28/26, 18:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97031

  54. Benjamin Franzke wrote 03/03/26, 17:28

    Hashtag added: actions
  55. Benjamin Franzke uploaded patch set 27 V +1 03/04/26, 07:04

  56. Benjamin Franzke uploaded patch set 28 03/04/26, 07:04

  57. core-ci voted on patch set 28 V -1 03/04/26, 07:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97257

  58. core-ci voted on patch set 27 V -1 03/04/26, 07:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97256

  59. Benjamin Franzke uploaded patch set 29 V -1 03/04/26, 14:22

  60. core-ci voted on patch set 29 V -1 03/04/26, 14:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97330

  61. Benjamin Franzke uploaded patch set 30 V -1 03/04/26, 17:29

  62. core-ci voted on patch set 30 V -1 03/04/26, 18:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97351

  63. Benjamin Franzke uploaded patch set 31 V -1 03/23/26, 09:21

  64. core-ci voted on patch set 31 V -1 03/23/26, 09:31 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98440

  65. Benjamin Franzke uploaded patch set 32 V -1 03/23/26, 09:59

  66. core-ci voted on patch set 32 V -1 03/23/26, 10:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98445

  67. core-ci voted on patch set 32 V +1 03/23/26, 10:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98445

  68. Benjamin Franzke uploaded patch set 33 V +1 03/27/26, 20:09

  69. core-ci voted on patch set 33 V +1 03/27/26, 20:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98915

  70. Benjamin Franzke uploaded patch set 34 V +1 03/30/26, 22:13

  71. core-ci voted on patch set 34 V -1 03/30/26, 22:30 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99120

  72. Benjamin Franzke uploaded patch set 35 V -1 03/30/26, 22:42

  73. core-ci voted on patch set 35 V -1 03/30/26, 22:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99155

  74. Benjamin Franzke uploaded patch set 36 V -1 03/30/26, 23:41

  75. core-ci voted on patch set 36 V -1 03/30/26, 23:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99190

  76. Benjamin Franzke uploaded patch set 37 V -1 03/30/26, 23:59

  77. core-ci voted on patch set 37 V +1 03/31/26, 00:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99192

  78. Benjamin Franzke uploaded patch set 38 V +1 03/31/26, 08:08

  79. core-ci voted on patch set 38 V +1 03/31/26, 08:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99233

  80. Benjamin Franzke uploaded patch set 39 V +1 04/02/26, 13:32

  81. core-ci voted on patch set 39 V +1 04/02/26, 13:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99490

  82. Benjamin Franzke uploaded patch set 40 V +1 04/08/26, 11:54

  83. core-ci voted on patch set 40 V +1 04/08/26, 12:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99763

  84. Benjamin Franzke uploaded patch set 41 V +1 04/09/26, 06:20

  85. core-ci voted on patch set 41 V +1 04/09/26, 06:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99816

  86. Benjamin Franzke rebased onto patch set 42 V +1 04/09/26, 08:40

  87. core-ci voted on patch set 42 V +1 04/09/26, 09:22 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99826

  88. Benjamin Franzke uploaded patch set 43 V +1 04/20/26, 06:45

  89. Benjamin Franzke uploaded patch set 44 04/20/26, 07:19

  90. core-ci voted on patch set 43 V -1 04/20/26, 07:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100512

  91. core-ci voted on patch set 44 V +1 04/20/26, 07:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100518

  92. Benjamin Franzke uploaded patch set 45 V +1 06/29/26, 12:55

  93. core-ci voted on patch set 45 V +1 06/29/26, 13:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104029

  94. Benjamin Franzke rebased onto patch set 46 V +1 06/29/26, 13:28

  95. core-ci voted on patch set 46 V +1 06/29/26, 13:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104035

  96. Benjamin Franzke uploaded patch set 47 V +1 08/27/26, 08:50

  97. core-ci voted on patch set 47 V +1 08/27/26, 09:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107232

  98. Benjamin Franzke uploaded patch set 48 V +1 09/09/26, 11:50

  99. core-ci voted on patch set 48 V +1 09/09/26, 12:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108164

  100. Benjamin Franzke uploaded patch set 49 V +1 09/16/26, 12:48

  101. core-ci voted on patch set 49 V +1 09/16/26, 12:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108678

  102. Benjamin Franzke uploaded patch set 50 V +1 09/22/26, 09:45

  103. core-ci voted on patch set 50 V -1 09/22/26, 09:59 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108980

  1. Benjamin Franzke uploaded patch set 51 V -1 09/22/26, 10:01

  2. core-ci voted on patch set 51 V +1 09/22/26, 10:22 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108984

  3. Benjamin Franzke uploaded patch set 52 V +1 10/14/26, 08:46

  4. core-ci voted on patch set 52 V -1 10/14/26, 09:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111060

  5. Benjamin Franzke uploaded patch set 53 V -1 10/14/26, 09:04

  6. core-ci voted on patch set 53 V +1 10/14/26, 09:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111068

  7. Benjamin Franzke uploaded patch set 54 V +1 10/14/26, 09:37

  8. core-ci voted on patch set 54 V -1 10/14/26, 09:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111075

  9. Benjamin Franzke uploaded patch set 55 V -1 10/14/26, 11:03

  10. Benjamin Franzke updated the commit message in patch set 56 10/14/26, 11:06

  11. core-ci voted on patch set 56 V -1 10/14/26, 11:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111094

  12. core-ci voted on patch set 56 V +1 10/14/26, 11:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111094

  13. Benjamin Franzke uploaded patch set 57 V +1 10/14/26, 12:53

  14. core-ci voted on patch set 57 V +1 10/14/26, 13:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111097

  15. Benni Mack commented on patch set 57 10/18/26, 17:51

    ActionInvoker.php:43 Unresolved

    Do I understand this right? Scopes are only checked in the HTTP RequestHandler. Every other caller of ActionInvoker::invoke() skips them: the MCP dispatcher, mcp:serve, the tool provider. Could the scope check, and later the authorization decision, move into the invoker, so that a new channel cannot forget it?

    ContentWriteScope.php:42 Unresolved

    is that correct? Every logged-in user is allowed to write?
  16. Benjamin Franzke uploaded patch set 58 V +1 10/28/26, 13:44

  17. core-ci voted on patch set 58 V +1 10/28/26, 14:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112717

  18. Benjamin Franzke uploaded patch set 59 V +1 11/03/26, 17:36

  19. core-ci voted on patch set 59 V -1 11/03/26, 18:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113186

  20. Benjamin Franzke uploaded patch set 60 V -1 11/03/26, 20:11

  21. core-ci voted on patch set 60 V +1 11/03/26, 20:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113219

  22. Benjamin Franzke rebased onto patch set 61 V +1 11/04/26, 16:04

  23. core-ci voted on patch set 61 V +1 11/04/26, 16:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113291

  24. Benjamin Franzke uploaded patch set 62 V +1 11/06/26, 10:11

  25. core-ci voted on patch set 62 V +1 11/06/26, 10:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113484