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

WordPress Trac noreply at wordpress.org
Tue Jun 2 11:42:04 UTC 2026


#64955: Add schema compiler for AI tool calling compatibility
--------------------------------------+-----------------------
 Reporter:  gziolo                    |       Owner:  gziolo
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  7.1
Component:  Abilities API             |     Version:  6.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------

Comment (by gziolo):

 In [changeset:"62447" 62447]:
 {{{
 #!CommitTicketReference repository="" revision="62447"
 REST API: Allow-list ability schema response keywords

 Switch the Abilities REST API schema response preparation from an
 internal-keyword deny-list to an allow-list, so ability input and output
 schemas expose only keywords from `rest_get_allowed_schema_keywords()\`
 plus a small set of additional draft-04 keywords. Unknown or WordPress-
 internal keywords (e.g. `sanitize_callback`, `example`, `context`,
 `readonly`) are no longer exposed to REST clients by default.

 Props gziolo, jorgefilipecosta.
 See #64955.
 }}}

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


More information about the wp-trac mailing list