web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Input Binding for Tool...
Copilot Studio
Suggested Answer

Input Binding for Tool not working?

(0) ShareShare
ReportReport
Posted on by 2
I'm using a custom connector with an API, and I want to use that as a Tool within Copilot. The problem is, the recognized input is always wrong:
 
 
I've checked the Swagger code and I can confirm that the input in question should be string as seen here:
 
 
But Copilot interprets this as a file input for whatever reason:
 
 
 
I have rebuilt this Custom Connector multiple times, removed and re-added into Copilot studio multiple times, all with the same end result. Am I doing something wrong here, or is this just broken? 
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,926 Super User 2025 Season 2 on at
     
    Right now you are telling it its bytes, instead of type: string did you mean to do that? Bytes is not a string, it would consider it an object of bytes.
     
    Also remove the brackets, curlies or any other annotations that you might want to use other than - or _ for now please try just changing the name to filename or something else, and make it a string not bytes.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • WM-26011729-0 Profile Picture
    2 on at
    So changing the name does work, but then the API I'm interacting with won't give a proper response. I need to pass that exact format of filter[name]. Is there any way around that? 
  • Michael E. Gernaey Profile Picture
    53,926 Super User 2025 Season 2 on at
     
    That's a great question, at the moment there is no way that I know of, I tried encoding it, but it didn't work (at least for me), I only know its a limitation because of those specific characters and what they represent :-(
     
    I am sorry but the answer I gave is the only answer I know of that makes it work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Valantis 556

#2
chiaraalina Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. chiaraalina 155

#3
Michael E. Gernaey Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Michael E. Gernaey 118 Super User 2025 Season 2

Last 30 days Overall leaderboard