[wp-trac] [WordPress Trac] #64955: Abilities API: Add schema compiler for AI tool calling compatibility

WordPress Trac noreply at wordpress.org
Wed Apr 8 09:56:46 UTC 2026


#64955: Abilities API: Add schema compiler for AI tool calling compatibility
---------------------------------------------+-----------------------------
 Reporter:  gziolo                           |       Owner:  gziolo
     Type:  enhancement                      |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  AI                               |     Version:  6.9
 Severity:  normal                           |  Resolution:
 Keywords:  abilities ai-client 2nd-opinion  |     Focuses:  rest-api
---------------------------------------------+-----------------------------

Comment (by gziolo):

 #65035 fixes the Abilities REST API (`/wp/v2/abilities`) leaking
 WordPress-internal schema keywords (`sanitize_callback`,
 `validate_callback`, `arg_options`) into `input_schema` and
 `output_schema` responses. These keywords aren't valid JSON Schema and
 break client-side validators — notably Gutenberg's AI tools integration.

 This is a targeted fix for item 5 in this ticket's description (WordPress-
 only keywords) at the REST output boundary. The broader schema compiler
 proposed here would address the remaining structural incompatibilities
 (items 1–4 and 6) at the AI-facing boundary.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64955#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list