# Dfx canister call \<canister\> \<metod\> \<args\>

**URL:** <https://forum.dfinity.org/t/dfx-canister-call-canister-metod-args/20628>\
**Category:** CDK\
**Created:** [June 11, 2023, 8:50am UTC](https://forum.dfinity.org/t/dfx-canister-call-canister-metod-args/20628 "2023-06-11T08:50:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArielRobotti](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/arielrobotti/32/10885_2.png) [@ArielRobotti](https://forum.dfinity.org/u/ArielRobotti)\
**Post date:** [June 11, 2023, 8:50am UTC](https://forum.dfinity.org/t/dfx-canister-call-canister-metod-args/20628/1 "2023-06-11T08:50:32Z")

</div>

Hello, first of all thank you very much for the help you are giving me! Here I have a not very complex query. How can I send arguments to the sendMsg(a:Text, b: Text) function of a canister from the console?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/0/07d2525fedcd9bd8fe76a98f592e8182b5eab902.png)  
Thank you

---

<div class="post-metadata">

**Author:** ![cymqqqq](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cymqqqq/32/14515_2.png) [@cymqqqq](https://forum.dfinity.org/u/cymqqqq)\
**Post date:** [June 12, 2023, 3:12am UTC](https://forum.dfinity.org/t/dfx-canister-call-canister-metod-args/20628/2 "2023-06-12T03:12:26Z")

</div>

dfx canister --network ic call \<canister\_name\> sendMsj ‘(“”, “”)’
