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

Announcements

News and Announcements icon
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,963 Moderator 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,963 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 639

#2
Vish WR Profile Picture

Vish WR 293

#3
Haque Profile Picture

Haque 216

Last 30 days Overall leaderboard