Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.

Verified

This commit was signed with the committer’s verified signature.
chr-hertel Christopher Hertel
@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC BREAK Backwards compatibility break refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants