Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

refactor: introduce execution reference in tool metadata #260

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

chr-hertel
Copy link
Member

@chr-hertel chr-hertel commented Mar 19, 2025

replaces #255 if successful

motivation: the execution reference is a pointer what the toolbox needs to execute. classname + method is only one type - with MCP it could also be a server + toolname.

@chr-hertel chr-hertel merged commit 6f0b303 into main Mar 19, 2025
7 checks passed
@chr-hertel chr-hertel deleted the refactor-toolbox-metadata branch March 19, 2025 22:24
@chr-hertel chr-hertel added the BC BREAK Backwards compatibility break label Mar 19, 2025
Comment on lines +12 to +13
) {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could assert, that class and method are no empty strings here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or use non-empty-string PHPDoc annotation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
BC BREAK Backwards compatibility break refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants